element-meta icon indicating copy to clipboard operation
element-meta copied to clipboard

Space overview not showing child rooms

Open HarHarLinks opened this issue 3 months ago • 3 comments

Steps to reproduce

  1. add a "hidden" room to a space using the parent-only relationship https://spec.matrix.org/latest/client-server-api/#mspaceparent-relationships
  2. 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

HarHarLinks avatar Oct 14 '25 08:10 HarHarLinks

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

t3chguy avatar Oct 14 '25 08:10 t3chguy

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.

HarHarLinks avatar Oct 14 '25 08:10 HarHarLinks

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.

t3chguy avatar Oct 14 '25 09:10 t3chguy