Avoid deadlock

pull/188/head
nielsandriesse 5 years ago
parent 3d2b65fc86
commit 3715130524

@ -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];

Loading…
Cancel
Save