mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 13:08:46 +00:00
Fix infinite identity key storage service clash.
This commit is contained in:
@@ -184,7 +184,8 @@ public class ContactRecordProcessor extends DefaultStorageRecordProcessor<Signal
|
||||
byte[] identityKey;
|
||||
|
||||
if ((remote.getIdentityState() != local.getIdentityState() && remote.getIdentityKey().isPresent()) ||
|
||||
(remote.getIdentityKey().isPresent() && local.getIdentityKey().isEmpty()))
|
||||
(remote.getIdentityKey().isPresent() && local.getIdentityKey().isEmpty()) ||
|
||||
(remote.getIdentityKey().isPresent() && local.getUnregisteredTimestamp() > 0))
|
||||
{
|
||||
identityState = remote.getIdentityState();
|
||||
identityKey = remote.getIdentityKey().get();
|
||||
|
||||
Reference in New Issue
Block a user