From 3c90c3361a83866cd8686b774421a6f9968779eb Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 29 Aug 2017 16:31:27 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/AppDelegate.m | 2 +- Signal/src/Profiles/OWSProfileManager.h | 2 +- Signal/src/Profiles/OWSProfileManager.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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]);