fix(main): set personnal chat as active if last active was profile
Fixes #14111
This commit is contained in:
parent
c26110c5ef
commit
425525e13a
|
@ -641,7 +641,7 @@ method onChannelGroupsLoaded*[T](
|
|||
return
|
||||
var activeSection: SectionItem
|
||||
var activeSectionId = singletonInstance.localAccountSensitiveSettings.getActiveSection()
|
||||
if activeSectionId == "":
|
||||
if activeSectionId == "" or activeSectionId == conf.SETTINGS_SECTION_ID:
|
||||
activeSectionId = singletonInstance.userProfile.getPubKey()
|
||||
|
||||
for channelGroup in channelGroups:
|
||||
|
|
Loading…
Reference in New Issue