Space overview not showing child rooms
Steps to reproduce
- add a "hidden" room to a space using the parent-only relationship https://spec.matrix.org/latest/client-server-api/#mspaceparent-relationships
- open space overview
Outcome
What did you expect?
room appears in space home and room list of the space if I am in it
What happened instead?
room is in room list but not space home
Operating system
No response
Browser information
No response
URL for webapp
app.element.io
Application version
Element version: 1.12.1 Crypto version: Rust SDK 0.14.0 (c3b7918), Vodozemac 0.9.0
Homeserver
synapse 137 or so
Will you send logs?
No
The list in the space home is populated by your Matrix homeserver via the /hierarchy API - the spec explicitly states only m.space.child memberships are discovered via this API https://spec.matrix.org/v1.16/client-server-api/#get_matrixclientv1roomsroomidhierarchy - the spec would need to be changed here to make this work consistently
No, Element would need to be changed to display the correct space members instead of relying only on the hierarchy API. As stated, it already does for the room list.
That is unlikely to happen, as once the API has filtering support there will be no way to apply the same filtering on the client & server side given the server side filtering will be an implementation detail so mixing data sources & filter implementations will yield an inconsistent and confusing view, hence me saying the spec would need to be changed to make this work consistently.