Update contact hiding to spec.

This commit is contained in:
Clark
2023-08-04 12:35:36 -04:00
committed by Alex Hart
parent c5d9346370
commit 6a87495a6d
14 changed files with 151 additions and 26 deletions

View File

@@ -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())
}
}