Merge branch 'charlesmchen/profileWhitelistVsOwnGroups'

pull/1/head
Matthew Chen 7 years ago
commit 50a3790969

@ -439,8 +439,12 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68;
- (void)createGroup
{
OWSAssert([NSThread isMainThread]);
TSGroupModel *model = [self makeGroup];
[OWSProfileManager.sharedManager addGroupIdToProfileWhitelist:model.groupId];
__block TSGroupThread *thread;
[[TSStorageManager sharedManager].dbReadWriteConnection
readWriteWithBlock:^(YapDatabaseReadWriteTransaction *_Nonnull transaction) {

Loading…
Cancel
Save