Clarify that servers may include unjoined rooms in their directory responses

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
pull/4367/head
Johannes Marbach 1 week ago
parent 5d434681cc
commit 6987a9d2f8

@ -14,13 +14,17 @@ This proposal addresses the situation by adding `via` values in the room directo
## Proposal
A new required property `via` is added on the `PublishedRoomsChunk` returned by
Servers MAY include rooms that they are not joined to in responses returned by the following
endpoints:
- [`GET /_matrix/client/v3/publicRooms`]
- [`POST /_matrix/client/v3/publicRooms`]
- [`GET /_matrix/federation/v1/publicRooms`]
- [`POST /_matrix/federation/v1/publicRooms`]
To help clients join such rooms, a new required property `via` is added on the `PublishedRoomsChunk`
returned by the above endpoints.
``` json5
{
"chunk": [

Loading…
Cancel
Save