diff --git a/ui/app/AppLayouts/Chat/stores/RootStore.qml b/ui/app/AppLayouts/Chat/stores/RootStore.qml index 257939dbc8..f4749b1b89 100644 --- a/ui/app/AppLayouts/Chat/stores/RootStore.qml +++ b/ui/app/AppLayouts/Chat/stores/RootStore.qml @@ -136,6 +136,9 @@ QtObject { function leaveCommunity(communityId) { chatsModelInst.communities.leaveCommunity(communityId); + if (communityId == chatsModelInst.communities.activeCommunity.id) { + localAccountSensitiveSettings.lastModeActiveCommunity = "" + } } function setCommunityMuted(communityId, checked) {