mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-10-05 15:23:29 +01:00
Fix infinite identity key storage service clash.
This commit is contained in:
1 parent
74619f6f8d
commit
420e15c179
1 file changed
+2
-1
@@ -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