mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
fix(Communities): Open #general
channel by default on creation
Closes: #5841
This commit is contained in:
parent
e607b7e223
commit
5967ce6ce8
@ -602,6 +602,9 @@ method communityJoined*[T](
|
||||
|
||||
if setActive:
|
||||
self.setActiveSection(communitySectionItem)
|
||||
if(channelGroup.chats.len > 0):
|
||||
let chatId = channelGroup.chats[0].id
|
||||
self.channelGroupModules[community.id].setActiveItemSubItem(chatId, "")
|
||||
|
||||
method communityLeft*[T](self: Module[T], communityId: string) =
|
||||
if(not self.channelGroupModules.contains(communityId)):
|
||||
|
Loading…
x
Reference in New Issue
Block a user