Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-08-29 16:31:27 -04:00
parent 71d7490e35
commit 3c90c3361a
3 changed files with 3 additions and 3 deletions

View file

@ -786,7 +786,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
// If there were any messages in our local queue which we hadn't yet processed.
[[OWSMessageReceiver sharedInstance] handleAnyUnprocessedEnvelopesAsync];
[OWSProfileManager.sharedManager syncLocalProfile];
[OWSProfileManager.sharedManager fetchLocalUsersProfile];
}
- (void)ensureRootViewController

View file

@ -50,7 +50,7 @@ extern const NSUInteger kOWSProfileManager_MaxAvatarDiameter;
// The local profile state can fall out of sync with the service
// (e.g. due to a botched profile update, for example).
- (void)syncLocalProfile;
- (void)fetchLocalUsersProfile;
#pragma mark - Profile Whitelist

View file

@ -674,7 +674,7 @@ const NSUInteger kOWSProfileManager_MaxAvatarDiameter = 640;
});
}
- (void)syncLocalProfile
- (void)fetchLocalUsersProfile
{
OWSAssert([NSThread isMainThread]);