mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-12 02:57:56 +00:00
ios: close a chat missing from the reloaded chat list
This commit is contained in:
1 parent
139ce5f8cc
commit
fa44dd4129
1 file changed
+3
@@ -693,6 +693,9 @@ final class ChatModel: ObservableObject {
|
||||
}
|
||||
NtfManager.shared.setNtfBadgeCount(totalUnreadCountForAllUsers())
|
||||
popChatCollector.clear()
|
||||
if let chatId, getChat(chatId) == nil {
|
||||
self.chatId = nil
|
||||
}
|
||||
}
|
||||
|
||||
// func addGroup(_ group: SimpleXChat.Group) {
|
||||
|
||||
Reference in new issue
Block a user