mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-13 15:04:10 +01:00
Clarifications from review.
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
d519075bc8
commit
35366a3d2c
|
|
@ -91,13 +91,15 @@ paths:
|
||||||
description: |-
|
description: |-
|
||||||
The rooms for the current page, with the current filters.
|
The rooms for the current page, with the current filters.
|
||||||
|
|
||||||
Rooms which the requesting user can request the [stripped state](#) of are returned, this includes:
|
The server should return any rooms where at least one of the following conditions is true:
|
||||||
|
|
||||||
* Any rooms where the requesting user's [room membership](#room-membership) is `join` or `invite`
|
* The requesting user is currently a member (their [room membership](#room-membership) is `join`).
|
||||||
* Any rooms the user can join:
|
* The requesting user already has permission to join, i.e. one of the following:
|
||||||
* Rooms with [join rules](#mroomjoin_rules) set to `join`, `knock`, or `knock_restricted`
|
* The user's room membership is `invite`.
|
||||||
* Rooms with a join rule of [`restricted`](#restricted-rooms) if the user meets one of the specified conditions
|
* The room's [join rules](#mroomjoin_rules) are set to `public`.
|
||||||
* Any rooms with [`m.room.history_visibility`](#room-history-visibility) set to `world_readable`.
|
* The room's join rules are set to [`restricted`](#restricted-rooms), provided the user meets one of the specified conditions.
|
||||||
|
* The room is "knockable" (the room's join rules are set to `knock`, or `knock_restricted`, in a room version that supports those settings).
|
||||||
|
* The room's [`m.room.history_visibility`](#room-history-visibility) is set to `world_readable`.
|
||||||
items:
|
items:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: definitions/public_rooms_chunk.yaml
|
- $ref: definitions/public_rooms_chunk.yaml
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue