From 425525e13ac37be550e69adaf9cbefdc20e734b5 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 25 Mar 2024 15:12:03 -0400 Subject: [PATCH] fix(main): set personnal chat as active if last active was profile Fixes #14111 --- src/app/modules/main/module.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/main/module.nim b/src/app/modules/main/module.nim index 822d3b60d8..86108f1b03 100644 --- a/src/app/modules/main/module.nim +++ b/src/app/modules/main/module.nim @@ -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: