Use description list for room memberships

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-04-22 12:11:02 +02:00
parent cbbbeeedfc
commit 325ad61bc3
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B

View file

@ -3940,24 +3940,24 @@ room is determined by the room config key `m.room.join_rules`. It can
have one of the following values: have one of the following values:
`public` `public`
This room is free for anyone to join without an invite. : This room is free for anyone to join without an invite.
`invite` `invite`
This room can only be joined if you were invited. : This room can only be joined if you were invited.
`knock` `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 request an invite to the room. Note that this join rule is only available
in room versions [which support knocking](/rooms/#feature-matrix). in room versions [which support knocking](/rooms/#feature-matrix).
{{% added-in v="1.2" %}} `restricted` `restricted`
This room can be joined if you were invited or if you are a member of another : {{% 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 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 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). is only expected to work in room versions [which support it](/rooms/#feature-matrix).
{{% added-in v="1.3" %}} `knock_restricted` `knock_restricted`
This room can be joined as though it was `restricted` *or* `knock`. If you : {{% 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 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. 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 Note that this rule is only expected to work in room versions