dendrite/setup
texuf e69af9405a
/hierarchy - return public and knockable rooms for authed users
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
2022-10-24 17:56:47 -07:00
..
base Track reasons why the process is in a degraded state 2022-10-04 13:02:41 +01:00
config Pull latest changes from dendrite fork (#193) 2022-10-24 17:26:35 -07:00
jetstream Add RoomEventType nats.Header to avoid unneeded unmarshalling (#2765) 2022-10-05 12:12:42 +02:00
mscs /hierarchy - return public and knockable rooms for authed users 2022-10-24 17:56:47 -07:00
process Track reasons why the process is in a degraded state 2022-10-04 13:02:41 +01:00
flags.go Add restrictions for open registration (#2402) 2022-04-29 09:31:11 +02:00
monolith.go Clean up interface definitions (#2427) 2022-05-06 12:39:26 +01:00