Better handle identity key changes in response to storage service syncs.

This commit is contained in:
Greyson Parrelli
2020-05-15 14:14:41 -04:00
committed by Alex Hart
parent e714cb6423
commit fa5729bac6
3 changed files with 25 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ public class TextSecureIdentityKeyStore implements IdentityKeyStore {
}
identityDatabase.saveIdentity(recipient.getId(), identityKey, verifiedStatus, false, System.currentTimeMillis(), nonBlockingApproval);
IdentityUtil.markIdentityUpdate(context, recipient);
IdentityUtil.markIdentityUpdate(context, recipient.getId());
SessionUtil.archiveSiblingSessions(context, address);
return true;
}