Do not mark dirty when updating profile key during storage sync.

fork-5.53.8
Greyson Parrelli 2021-03-11 13:18:34 -05:00 zatwierdzone przez Cody Henthorne
rodzic e74460bd91
commit 6f8be3260c
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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 {