diff --git a/Signal/src/AppDelegate.m b/Signal/src/AppDelegate.m index 465ccfba4..e43f4fb77 100644 --- a/Signal/src/AppDelegate.m +++ b/Signal/src/AppDelegate.m @@ -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 diff --git a/Signal/src/Profiles/OWSProfileManager.h b/Signal/src/Profiles/OWSProfileManager.h index a300c6d69..e51d120a7 100644 --- a/Signal/src/Profiles/OWSProfileManager.h +++ b/Signal/src/Profiles/OWSProfileManager.h @@ -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 diff --git a/Signal/src/Profiles/OWSProfileManager.m b/Signal/src/Profiles/OWSProfileManager.m index 12373e90c..50fc69721 100644 --- a/Signal/src/Profiles/OWSProfileManager.m +++ b/Signal/src/Profiles/OWSProfileManager.m @@ -674,7 +674,7 @@ const NSUInteger kOWSProfileManager_MaxAvatarDiameter = 640; }); } -- (void)syncLocalProfile +- (void)fetchLocalUsersProfile { OWSAssert([NSThread isMainThread]);