kopia lustrzana https://github.com/ryukoposting/Signal-Android
Do not mark dirty when updating profile key during storage sync.
rodzic
e74460bd91
commit
6f8be3260c
|
@ -911,7 +911,9 @@ public class RecipientDatabase extends Database {
|
|||
RecipientId recipientId = getByStorageKeyOrThrow(update.getNew().getId().getRaw());
|
||||
|
||||
if (StorageSyncHelper.profileKeyChanged(update)) {
|
||||
clearProfileKeyCredential(recipientId);
|
||||
ContentValues clearValues = new ContentValues(1);
|
||||
clearValues.putNull(PROFILE_KEY_CREDENTIAL);
|
||||
update(recipientId, clearValues);
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Ładowanie…
Reference in New Issue