Fix crash.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-06-06 17:43:13 -04:00
parent fcc17ca869
commit 8a26883876

View file

@ -269,7 +269,7 @@ NSString *const kNSNotificationName_IdentityStateDidChange = @"kNSNotificationNa
@synchronized(self)
{
if ([[[self class] localNumber] isEqualToString:recipientId]) {
if ([[self.storageManager localNumber] isEqualToString:recipientId]) {
if ([[self identityKeyPair].publicKey isEqualToData:identityKey]) {
return YES;
} else {