|
|
|
@ -237,8 +237,7 @@ NSString *const TSGroupThread_NotificationKey_UniqueId = @"TSGroupThread_Notific
|
|
|
|
|
self.groupModel = newGroupModel;
|
|
|
|
|
[self saveWithTransaction:transaction];
|
|
|
|
|
|
|
|
|
|
[transaction addCompletionQueue:dispatch_get_main_queue()
|
|
|
|
|
completionBlock:^{
|
|
|
|
|
[transaction addCompletionQueue:dispatch_get_main_queue() completionBlock:^{
|
|
|
|
|
[NSNotificationCenter.defaultCenter postNotificationName:NSNotification.groupThreadUpdated object:self.uniqueId];
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
@ -261,8 +260,7 @@ NSString *const TSGroupThread_NotificationKey_UniqueId = @"TSGroupThread_Notific
|
|
|
|
|
self.groupModel.groupMemberIds = newGroupMemberIDs.allObjects;
|
|
|
|
|
[self saveWithTransaction:transaction];
|
|
|
|
|
|
|
|
|
|
[transaction addCompletionQueue:dispatch_get_main_queue()
|
|
|
|
|
completionBlock:^{
|
|
|
|
|
[transaction addCompletionQueue:dispatch_get_main_queue() completionBlock:^{
|
|
|
|
|
[NSNotificationCenter.defaultCenter postNotificationName:NSNotification.groupThreadUpdated object:self.uniqueId];
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
|