From 60011aef617d9c0e8ab4d3d8c22787d3f3c2de53 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 6 Jan 2022 14:21:47 -0500 Subject: [PATCH] fix(community): fix creating channels in a new community does not work --- src/app/modules/main/module.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/modules/main/module.nim b/src/app/modules/main/module.nim index 8153a515c2..58dedf90bd 100644 --- a/src/app/modules/main/module.nim +++ b/src/app/modules/main/module.nim @@ -491,9 +491,11 @@ method communityJoined*[T]( communityService, messageService ) + self.communitySectionsModule[community.id].load(events, settingsService, contactsService, chatService, communityService, messageService) + let communitySectionItem = self.createCommunityItem(community) self.view.addItem(self.createCommunityItem(community)) - # TODO do we need to set it as active + self.setActiveSection(communitySectionItem) method communityEdited*[T]( self: Module[T],