Skip to content

Commit

Permalink
Clarify that via is required for m.space.parent and `m.space.chil…
Browse files Browse the repository at this point in the history
…d` as per MSC1772. (matrix-org#1618)
  • Loading branch information
PaarthShah authored Sep 5, 2023
1 parent 5e938f2 commit 838dec2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1618.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify that the `via` property is required for `m.space.parent` and `m.space.child` as per MSC1772. Contributed by @PaarthShah.
2 changes: 2 additions & 0 deletions data/event-schemas/schema/m.space.child.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions data/event-schemas/schema/m.space.parent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 838dec2

Please sign in to comment.