Tweak concurrency in profile manager.

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

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

Loading…
Cancel
Save