Ensure we enqueue a storage sync after a safety number change.

This commit is contained in:
Greyson Parrelli
2022-04-20 10:49:15 -04:00
committed by Alex Hart
parent 55acd0f048
commit dfcadde076
4 changed files with 28 additions and 7 deletions

View File

@@ -116,6 +116,8 @@ public final class IdentityUtil {
}
public static void markIdentityUpdate(@NonNull Context context, @NonNull RecipientId recipientId) {
Log.w(TAG, "Inserting safety number change event(s) for " + recipientId, new Throwable());
long time = System.currentTimeMillis();
MessageDatabase smsDatabase = SignalDatabase.sms();
GroupDatabase groupDatabase = SignalDatabase.groups();