mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Update contact hiding to spec.
This commit is contained in:
@@ -34,10 +34,10 @@ class ContactsManagementRepository(context: Context) {
|
||||
}
|
||||
|
||||
val rotateProfileKey = !recipient.hasGroupsInCommon()
|
||||
SignalDatabase.recipients.markHidden(recipient.id, rotateProfileKey)
|
||||
SignalDatabase.recipients.markHidden(recipient.id, rotateProfileKey, false)
|
||||
if (rotateProfileKey) {
|
||||
ApplicationDependencies.getJobManager().add(RotateProfileKeyJob())
|
||||
}
|
||||
}
|
||||
}.subscribeOn(Schedulers.io())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user