From 16dcc73b2d866c1de1d9881f1eed16b268c6e202 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 5 Sep 2017 12:31:19 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/Profiles/OWSProfileManager.m | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Signal/src/Profiles/OWSProfileManager.m b/Signal/src/Profiles/OWSProfileManager.m index be81df2fe..19792a5c6 100644 --- a/Signal/src/Profiles/OWSProfileManager.m +++ b/Signal/src/Profiles/OWSProfileManager.m @@ -869,9 +869,10 @@ const NSUInteger kOWSProfileManager_MaxAvatarDiameter = 640; NSData *groupId = groupThread.groupModel.groupId; [self addGroupIdToProfileWhitelist:groupId]; - // When we add a group to the profile whitelist, - // also add all current members to the profile - // whitelist individually as well. + // When we add a group to the profile whitelist, we might as well + // also add all current members to the profile whitelist + // individually as well just in case delivery of the profile key + // fails. for (NSString *recipientId in groupThread.recipientIdentifiers) { [self addUserToProfileWhitelist:recipientId]; }