From 6987a9d2f8d3f5217972f8ca96ad9bf2636dd05a Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Wed, 26 Nov 2025 10:16:36 +0100 Subject: [PATCH] Clarify that servers may include unjoined rooms in their directory responses Signed-off-by: Johannes Marbach --- proposals/4367-public-rooms-via.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proposals/4367-public-rooms-via.md b/proposals/4367-public-rooms-via.md index e63235d2d..df2a23295 100644 --- a/proposals/4367-public-rooms-via.md +++ b/proposals/4367-public-rooms-via.md @@ -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": [