mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 05:53:42 +01:00
Move changed-in and expand upon it
This commit is contained in:
parent
430cbd681b
commit
a678f0b52b
|
|
@ -2810,7 +2810,7 @@ fresh state can be acquired from a join.
|
||||||
Stripped state should contain some or all of the following state events, which
|
Stripped state should contain some or all of the following state events, which
|
||||||
should be represented as stripped state events when possible:
|
should be represented as stripped state events when possible:
|
||||||
|
|
||||||
* [`m.room.create`](#mroomcreate) ({{% changed-in v="1.16" %}} required on invites and knocks)
|
* [`m.room.create`](#mroomcreate)
|
||||||
* [`m.room.name`](#mroomname)
|
* [`m.room.name`](#mroomname)
|
||||||
* [`m.room.avatar`](#mroomavatar)
|
* [`m.room.avatar`](#mroomavatar)
|
||||||
* [`m.room.topic`](#mroomtopic)
|
* [`m.room.topic`](#mroomtopic)
|
||||||
|
|
@ -2818,6 +2818,14 @@ should be represented as stripped state events when possible:
|
||||||
* [`m.room.canonical_alias`](#mroomcanonical_alias)
|
* [`m.room.canonical_alias`](#mroomcanonical_alias)
|
||||||
* [`m.room.encryption`](#mroomencryption)
|
* [`m.room.encryption`](#mroomencryption)
|
||||||
|
|
||||||
|
{{% changed-in v="1.16" %}} The `m.room.create` event is now **required** in
|
||||||
|
the following places:
|
||||||
|
* [`invite_state`](#get_matrixclientv3sync_response-200_invited-room) and
|
||||||
|
[`knock_state`](#get_matrixclientv3sync_response-200_knocked-room) on
|
||||||
|
[`/sync`](#get_matrixclientv3sync) responses.
|
||||||
|
* When present on [`m.room.member`](#mroommember) events, the `invite_room_state`
|
||||||
|
and `knock_room_state` under `unsigned` on the event.
|
||||||
|
|
||||||
{{% boxes/note %}}
|
{{% boxes/note %}}
|
||||||
Clients should inspect the list of stripped state events and not assume any
|
Clients should inspect the list of stripped state events and not assume any
|
||||||
particular event is present. The server might include events not described
|
particular event is present. The server might include events not described
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue