How to get space children names?
johngebbie opened this issue · comments
Funny title but I can't figure out how to get the names of the rooms in a space.
I'm stuck with only the roomIDs from room.State[event.StateSpaceChild].
I tried getting the state events with client.State(roomID) but it gets denied due to permissions.
I see there is a GET /hierarchy api which I don't think is in mautrix yet. Would that be the only way? Thank you.
the /hierarchy endpoint got merged so you now have that but yeah, by design, you're only supposed to get room metadata if you have permissions.