Tweak concurrency in profile manager.

// FREEBIE
pull/1/head
Matthew Chen 7 years ago
parent 02f8b13f4f
commit 1dd75a05ff

@ -947,9 +947,11 @@ const NSUInteger kOWSProfileManager_MaxAvatarDiameter = 640;
[self saveUserProfile:userProfile];
[ProfileFetcherJob runWithRecipientId:recipientId
networkManager:self.networkManager
ignoreThrottling:ignoreThrottling];
dispatch_async(dispatch_get_main_queue(), ^{
[ProfileFetcherJob runWithRecipientId:recipientId
networkManager:self.networkManager
ignoreThrottling:ignoreThrottling];
});
}
});
}

Loading…
Cancel
Save