fix: unread count
This commit is contained in:
parent
44850c7035
commit
0498613d28
|
@ -95,6 +95,7 @@ proc handleChatEvents(self: ChatController) =
|
|||
self.status.events.on("channelLeft") do(e: Args):
|
||||
let chatId = ChatIdArg(e).chatId
|
||||
self.view.removeChat(chatId)
|
||||
self.view.calculateUnreadMessages()
|
||||
self.view.removeMessagesFromTimeline(chatId)
|
||||
|
||||
self.status.events.on("activeChannelChanged") do(e: Args):
|
||||
|
|
Loading…
Reference in New Issue