From e7044e0e67aea9ea6371fff86a0a2477ddbae23f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 4 Aug 2021 09:49:34 +0200 Subject: [PATCH] fix: display space invites in chat list --- lib/pages/chat_list.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/chat_list.dart b/lib/pages/chat_list.dart index b45b8043..774c485d 100644 --- a/lib/pages/chat_list.dart +++ b/lib/pages/chat_list.dart @@ -188,7 +188,7 @@ class ChatListController extends State { } bool roomCheck(Room room) { - if (room.isSpace) return false; + if (room.isSpace && room.membership == Membership.join) return false; if (activeSpaceId != null) { final space = Matrix.of(context).client.getRoomById(activeSpaceId); if (space.spaceChildren?.any((child) => child.roomId == room.id) ??