ios: close a chat missing from the reloaded chat list

This commit is contained in:
Narasimha-sc committed 2026-10-19 07:19:12 +00:00
1 parent 139ce5f8cc
commit fa44dd4129
1 file changed
+3
+3
View File
@@ -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) {