Tweak concurrency in profile manager.
// FREEBIE
This commit is contained in:
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…
Reference in New Issue
Block a user