|
|
|
@ -14,13 +14,17 @@ This proposal addresses the situation by adding `via` values in the room directo
|
|
|
|
|
|
|
|
|
|
|
|
## Proposal
|
|
|
|
## 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`]
|
|
|
|
- [`GET /_matrix/client/v3/publicRooms`]
|
|
|
|
- [`POST /_matrix/client/v3/publicRooms`]
|
|
|
|
- [`POST /_matrix/client/v3/publicRooms`]
|
|
|
|
- [`GET /_matrix/federation/v1/publicRooms`]
|
|
|
|
- [`GET /_matrix/federation/v1/publicRooms`]
|
|
|
|
- [`POST /_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
|
|
|
|
``` json5
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"chunk": [
|
|
|
|
"chunk": [
|
|
|
|
|