зеркало из https://github.com/nextcloud/talk-ios.git
Merge pull request #986 from nextcloud/save-pending-message-on-background
Save pending message when app is resigning active
This commit is contained in:
Коммит
73189f1be7
|
@ -570,6 +570,7 @@ NSString * const NCChatViewControllerTalkToUserNotification = @"NCChatViewContro
|
|||
_hasReceiveNewMessages = NO;
|
||||
_startReceivingMessagesAfterJoin = YES;
|
||||
[self removeUnreadMessagesSeparator];
|
||||
[self savePendingMessage];
|
||||
[_chatController stopChatController];
|
||||
[_messageExpirationTimer invalidate];
|
||||
[[NCRoomsManager sharedInstance] leaveChatInRoom:_room.token];
|
||||
|
|
Загрузка…
Ссылка в новой задаче