fix: leave channel

This commit is contained in:
Richard Ramos 2020-06-04 10:36:27 -04:00 committed by Iuri Matias
parent b412a56577
commit 68047eb8fd
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ QtObject:
notify = activeChannelChanged
proc setActiveChannel*(self: ChatsView, channel: string) =
if(channel == ""): return
self.activeChannel.setChatItem(self.chats.getChannel(self.chats.chats.findById(channel)))
self.activeChannelChanged()