|
|
@ -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) ??
|
|
|
|