parent
20bbf97787
commit
6895dc6c6c
|
@ -42,6 +42,7 @@ proc handleChatEvents(self: ChatController) =
|
|||
for community in evArgs.communities:
|
||||
self.view.communities.addCommunityToList(community)
|
||||
if (self.view.communities.activeCommunity.active and self.view.communities.activeCommunity.communityItem.id == community.id):
|
||||
if (self.view.activeChannel.chatItem != nil):
|
||||
let communityChannel = self.view.communities.activeCommunity.chats.getChannelById(self.view.activeChannel.chatItem.id)
|
||||
self.view.activeChannel.chatItem.canPost = communityChannel.canPost
|
||||
self.view.activeChannelChanged()
|
||||
|
|
Loading…
Reference in New Issue