From 325ad61bc340fe28589ddd6207eea8f5cd7d6bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 22 Apr 2026 12:11:02 +0200 Subject: [PATCH] Use description list for room memberships MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- content/client-server-api/_index.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/client-server-api/_index.md b/content/client-server-api/_index.md index b74a0ee2..0f436751 100644 --- a/content/client-server-api/_index.md +++ b/content/client-server-api/_index.md @@ -3940,24 +3940,24 @@ room is determined by the room config key `m.room.join_rules`. It can have one of the following values: `public` -This room is free for anyone to join without an invite. +: This room is free for anyone to join without an invite. `invite` -This room can only be joined if you were invited. +: This room can only be joined if you were invited. `knock` -This room can only be joined if you were invited, and allows anyone to +: This room can only be joined if you were invited, and allows anyone to request an invite to the room. Note that this join rule is only available in room versions [which support knocking](/rooms/#feature-matrix). -{{% added-in v="1.2" %}} `restricted` -This room can be joined if you were invited or if you are a member of another +`restricted` +: {{% added-in v="1.2" %}} This room can be joined if you were invited or if you are a member of another room listed in the join rules. If the server cannot verify membership for any of the listed rooms then you can only join with an invite. Note that this rule is only expected to work in room versions [which support it](/rooms/#feature-matrix). -{{% added-in v="1.3" %}} `knock_restricted` -This room can be joined as though it was `restricted` *or* `knock`. If you +`knock_restricted` +: {{% added-in v="1.3" %}} This room can be joined as though it was `restricted` *or* `knock`. If you interact with the room using knocking, the `knock` rule takes effect whereas trying to join the room without an invite applies the `restricted` join rule. Note that this rule is only expected to work in room versions