mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-06 20:19:30 +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) {
|
bool roomCheck(Room room) {
|
||||||
if (room.isSpace) return false;
|
if (room.isSpace && room.membership == Membership.join) return false;
|
||||||
if (activeSpaceId != null) {
|
if (activeSpaceId != null) {
|
||||||
final space = Matrix.of(context).client.getRoomById(activeSpaceId);
|
final space = Matrix.of(context).client.getRoomById(activeSpaceId);
|
||||||
if (space.spaceChildren?.any((child) => child.roomId == room.id) ??
|
if (space.spaceChildren?.any((child) => child.roomId == room.id) ??
|
||||||
|
Loading…
Reference in New Issue
Block a user