mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-20 13:03:42 +01:00
replace m.room.parent with m.space.parent for symmetry
This commit is contained in:
parent
b8e3a0b45d
commit
f8fb32518d
|
|
@ -126,12 +126,12 @@ relationship can be expressed in one of two ways:
|
||||||
automatically joined by members of the space: see
|
automatically joined by members of the space: see
|
||||||
[below](#auto-joined-children).
|
[below](#auto-joined-children).
|
||||||
|
|
||||||
2. Separately, rooms can claim a parent via the `m.room.parent` state
|
2. Separately, rooms can claim a parent via the `m.space.parent` state
|
||||||
event:
|
event:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
"type": "m.room.parent",
|
"type": "m.space.parent",
|
||||||
"state_key": "",
|
"state_key": "",
|
||||||
"content": {
|
"content": {
|
||||||
"room_id": "!space:example.com",
|
"room_id": "!space:example.com",
|
||||||
|
|
@ -145,9 +145,9 @@ relationship can be expressed in one of two ways:
|
||||||
that space and group them together.
|
that space and group them together.
|
||||||
|
|
||||||
To avoid abuse where a room admin falsely claims that a room is part of a
|
To avoid abuse where a room admin falsely claims that a room is part of a
|
||||||
space that it should not be, clients could ignore such `m.room.parent`
|
space that it should not be, clients could ignore such `m.space.parent`
|
||||||
events unless their sender has a sufficient power-level to send an
|
events unless their sender has a sufficient power-level to send an
|
||||||
`m.room.child` event in the parent.
|
`m.space.child` event in the parent.
|
||||||
|
|
||||||
Where the parent space also claims a parent, clients can recursively peek
|
Where the parent space also claims a parent, clients can recursively peek
|
||||||
into the grandparent space, and so on.
|
into the grandparent space, and so on.
|
||||||
|
|
@ -305,7 +305,7 @@ Proposed final identifier | Purpose | Development identifier
|
||||||
------------------------------- | ------- | ----
|
------------------------------- | ------- | ----
|
||||||
`m.space` | room type | `org.matrix.msc1772.space`
|
`m.space` | room type | `org.matrix.msc1772.space`
|
||||||
`m.space.child` | event type | `org.matrix.msc1772.space.child`
|
`m.space.child` | event type | `org.matrix.msc1772.space.child`
|
||||||
`m.room.parent` | event type | `org.matrix.msc1772.room.parent`
|
`m.space.parent` | event type | `org.matrix.msc1772.room.parent`
|
||||||
|
|
||||||
## History
|
## History
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue