Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1 @@
Clarify that `via` property is required for `m.space.parent` and `m.space.child` as per MSC1772. Contributed by @PaarthShah
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 2 additions & 0 deletions data/event-schemas/schema/m.space.child.yaml
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
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