diff options
author | texuf <texuf.eth@gmail.com> | 2022-08-12 06:07:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-12 14:07:45 +0100 |
commit | e55cd6ea785e927996cd1e0461d5c1826aa89ef5 (patch) | |
tree | 874fd2454bb770ba582496be4ca19144a9690468 /dendrite-sample.monolith.yaml | |
parent | 6d0d7a0bc34563e272dbc045c13cfadc826946d1 (diff) |
/hierarchy - return public and knockable rooms for authed users (#2578)
When requesting the room hierarchy with an authenticated user, return public and knockable rooms.
According to the spec, https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/2946-spaces-summary.md
```
Any child room that the user is joined or is potentially joinable is included in the response.
```
This is currently not the case. See discussion here: https://matrix.to/#/!NasysSDfxKxZBzJJoE:matrix.org/$t2Csj-6y1PVsn8GOnFZfXzeQW13NfqvrFCxB-XI_uhA?via=matrix.org&via=libera.chat&via=element.io and here: https://matrix.to/#/!NasysSDfxKxZBzJJoE:matrix.org/$EHp1x1DY7tnYZtx_PVEb-sKB9lmJajqHx2uGlhrRh6k?via=matrix.org&via=libera.chat&via=element.io
Test Plan:
create and register clients bob and alice
have bob create a public space
have bob create a public room parented to the space
have alice join the space(room)
have alice sync the space
expect alice to see two rooms in the space hierarchy, the space and the child room
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Diffstat (limited to 'dendrite-sample.monolith.yaml')
0 files changed, 0 insertions, 0 deletions