Avoid deadlock

This commit is contained in:
nielsandriesse 2020-05-07 15:16:40 +10:00
parent 3d2b65fc86
commit 3715130524
1 changed files with 2 additions and 0 deletions

View File

@ -386,9 +386,11 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
// Loki: Optimistically update friend request status when we can. This is used for
// e.g. preventing AFRs from being sent twice on a contact sync.
/*
if ([LKFriendRequestProtocol shouldUpdateFriendRequestStatusFromMessage:message]) {
[LKFriendRequestProtocol setFriendRequestStatusToSendingIfNeededForHexEncodedPublicKey:message.thread.contactIdentifier transaction:transaction];
}
*/
}];
NSOperationQueue *sendingQueue = [self sendingQueueForMessage:message];