set activeSpaceId to null after navigating to all chats

This commit is contained in:
ggurdin 2024-06-19 13:21:29 -04:00
parent e7f1dcf6a3
commit c16533ecff

View file

@ -166,6 +166,11 @@ class ChatListController extends State<ChatList>
// Pangea#
selectedRoomIds.clear();
activeFilter = getActiveFilterByDestination(i);
// #Pangea
if (activeFilter != ActiveFilter.spaces) {
setActiveSpace(null);
}
// Pangea#
});
// #Pangea
final bool clickedAllSpaces = (!AppConfig.separateChatTypes && i == 1) ||