Clarify that `via` is required for `m.space.parent` and `m.space.child` as per MSC1772. (#1618)

pull/1639/head
Paarth Shah 8 months ago committed by GitHub
parent 5e938f2b83
commit 838dec272c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Clarify that the `via` property is required for `m.space.parent` and `m.space.child` as per MSC1772. Contributed by @PaarthShah.

@ -34,6 +34,8 @@ properties:
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
display the room differently, such as eagerly rendering them in the room list.
required:
- via
type: object
state_key:
description: The child room ID being described.

@ -20,6 +20,8 @@ properties:
When multiple `canonical` parents are found, the lowest parent when ordering by room ID
lexicographically by Unicode code-points should be used.
required:
- via
type: object
state_key:
description: The parent room ID.

Loading…
Cancel
Save