fix(main): set personnal chat as active if last active was profile

Fixes #14111
This commit is contained in:
Jonathan Rainville 2024-03-25 15:12:03 -04:00
parent c26110c5ef
commit 425525e13a
1 changed files with 1 additions and 1 deletions

View File

@ -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: