Fix rebase breakage.

// FREEBIE
pull/1/head
Matthew Chen 7 years ago
parent 83e2fbe28c
commit f6bcff5427

@ -443,14 +443,14 @@ const NSUInteger kNewGroupViewControllerAvatarWidth = 68;
TSGroupModel *model = [self makeGroup];
[OWSProfileManager.sharedManager addGroupIdToProfileWhitelist:model.groupId];
__block TSGroupThread *thread;
[[TSStorageManager sharedManager].dbReadWriteConnection
readWriteWithBlock:^(YapDatabaseReadWriteTransaction *_Nonnull transaction) {
thread = [TSGroupThread getOrCreateThreadWithGroupModel:model transaction:transaction];
}];
OWSAssert(thread);
[OWSProfileManager.sharedManager addThreadToProfileWhitelist:thread];
void (^successHandler)() = ^{
DDLogError(@"Group creation successful.");

Loading…
Cancel
Save