fix(community): fix creating channels in a new community does not work

This commit is contained in:
Jonathan Rainville 2022-01-06 14:21:47 -05:00 committed by Sale Djenic
parent 6fe9652b44
commit 60011aef61
1 changed files with 3 additions and 1 deletions

View File

@ -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],