Respond to CR.
// FREEBIE
This commit is contained in:
parent
fdd172bda3
commit
841271dc6c
@ -15,10 +15,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
verificationState:(OWSVerificationState)verificationState
|
||||
isLocalChange:(BOOL)isLocalChange
|
||||
{
|
||||
OWSAssert(recipientId.length > 0)
|
||||
OWSAssert(recipientId.length > 0);
|
||||
|
||||
self
|
||||
= [super initWithTimestamp:timestamp inThread:thread messageType:TSInfoMessageVerificationStateChange];
|
||||
self = [super initWithTimestamp:timestamp inThread:thread messageType:TSInfoMessageVerificationStateChange];
|
||||
if (!self) {
|
||||
return self;
|
||||
}
|
||||
|
||||
@ -192,8 +192,6 @@ NSString *const kNSNotificationName_IdentityStateDidChange = @"kNSNotificationNa
|
||||
// Cancel any pending verification state sync messages for this recipient.
|
||||
[self clearSyncMessageForRecipientId:recipientId];
|
||||
|
||||
// TODO: This may be redundant with the "safety number changes"
|
||||
// messages.
|
||||
if (existingIdentity.verificationState != verificationState) {
|
||||
[self saveChangeMessagesForRecipientId:recipientId
|
||||
verificationState:verificationState
|
||||
|
||||
Loading…
Reference in New Issue
Block a user