fix subsubspaces showing as regular rooms
This commit is contained in:
parent
be69358ea4
commit
812183cc00
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ class SpacesController extends AsyncNotifier<IList<Space>> {
|
||||||
room: room,
|
room: room,
|
||||||
children: .new(
|
children: .new(
|
||||||
collectDescendants(childId)
|
collectDescendants(childId)
|
||||||
|
.where((id) => !childrenById.containsKey(id))
|
||||||
.map((id) => rooms[id])
|
.map((id) => rooms[id])
|
||||||
.nonNulls,
|
.nonNulls,
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue