Archive sessions on the 'session store' queue.
// FREEBIE
This commit is contained in:
parent
793a7449b0
commit
e9219743ff
@ -198,7 +198,9 @@ NSString *const kNSNotificationName_IdentityStateDidChange = @"kNSNotificationNa
|
||||
createdAt:[NSDate new]
|
||||
verificationState:verificationState] save];
|
||||
|
||||
[self.storageManager archiveAllSessionsForContact:recipientId];
|
||||
dispatch_async([OWSDispatch sessionStoreQueue], ^{
|
||||
[self.storageManager archiveAllSessionsForContact:recipientId];
|
||||
});
|
||||
|
||||
// Cancel any pending verification state sync messages for this recipient.
|
||||
[self clearSyncMessageForRecipientId:recipientId];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user