Clarify that 'via' is required as per MSC1772.

This commit is contained in:
Paarth Shah 2023-08-18 00:42:21 -07:00
parent 4abea9a6ca
commit 81a8c15735
No known key found for this signature in database
GPG key ID: 08D39021F6D6A7B8
2 changed files with 4 additions and 4 deletions

View file

@ -9,8 +9,6 @@ properties:
type: array type: array
description: |- description: |-
A list of servers to try and join through. See also: [Routing](/appendices/#routing). A list of servers to try and join through. See also: [Routing](/appendices/#routing).
When not present or invalid, the child room is not considered to be part of the space.
items: items:
type: string type: string
order: order:
@ -34,6 +32,8 @@ properties:
Optional (default `false`) flag to denote whether the child is "suggested" or of interest Optional (default `false`) flag to denote whether the child is "suggested" or of interest
to members of the space. This is primarily intended as a rendering hint for clients to to members of the space. This is primarily intended as a rendering hint for clients to
display the room differently, such as eagerly rendering them in the room list. display the room differently, such as eagerly rendering them in the room list.
required:
- via
type: object type: object
state_key: state_key:
description: The child room ID being described. description: The child room ID being described.

View file

@ -9,8 +9,6 @@ properties:
type: array type: array
description: |- description: |-
A list of servers to try and join through. See also: [Routing](/appendices/#routing). A list of servers to try and join through. See also: [Routing](/appendices/#routing).
When not present or invalid, the room is not considered to be part of the parent space.
items: items:
type: string type: string
canonical: canonical:
@ -20,6 +18,8 @@ properties:
When multiple `canonical` parents are found, the lowest parent when ordering by room ID When multiple `canonical` parents are found, the lowest parent when ordering by room ID
lexicographically by Unicode code-points should be used. lexicographically by Unicode code-points should be used.
required:
- via
type: object type: object
state_key: state_key:
description: The parent room ID. description: The parent room ID.