mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-24 14:32:37 +01:00
fix: display space invites in chat list
This commit is contained in:
parent
9a78b8ad85
commit
e7044e0e67
@ -188,7 +188,7 @@ class ChatListController extends State<ChatList> {
|
||||
}
|
||||
|
||||
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) ??
|
||||
|
Loading…
Reference in New Issue
Block a user