mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix crash.
// FREEBIE
This commit is contained in:
parent
fcc17ca869
commit
8a26883876
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue