Skip to content

Commit 9585064

Browse files
Try to fix regression in active chats
1 parent 710bba5 commit 9585064

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Monal/Classes/ActiveChatsViewController.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ -(void) refreshDisplay
381381
[self presentChatWithContact:nil];
382382
}
383383

384-
if(self.chatListTable.hasUncommittedUpdates)
385-
return;
384+
//if(self.chatListTable.hasUncommittedUpdates)
385+
// return;
386386
[CATransaction begin];
387387
[UIView performWithoutAnimation:^{
388388
[self.chatListTable beginUpdates];
@@ -508,11 +508,11 @@ -(void) handleNewMessage:(NSNotification*) notification
508508
-(void) insertOrMoveContact:(MLContact*) contact completion:(void (^ _Nullable)(BOOL finished)) completion
509509
{
510510
dispatch_async(dispatch_get_main_queue(), ^{
511-
if(self.chatListTable.hasUncommittedUpdates)
511+
/*if(self.chatListTable.hasUncommittedUpdates)
512512
{
513513
if(completion) completion(NO);
514514
return;
515-
}
515+
}*/
516516
[CATransaction begin];
517517
[UIView performWithoutAnimation:^{
518518
[self.chatListTable beginUpdates];

0 commit comments

Comments
 (0)