Describe and hoist stripped state to a first-class citizen (#3606)
* Describe and hoist stripped state to a first-class citizen Fixes https://github.com/matrix-org/matrix-doc/issues/3413 MSC: https://github.com/matrix-org/matrix-doc/pull/3173 * Add changelog * may->can for clarity * Update text per review
This commit is contained in:
parent
224773dc6a
commit
56532dd688
8 changed files with 83 additions and 36 deletions
|
@ -264,23 +264,13 @@ paths:
|
|||
title: InviteState
|
||||
type: object
|
||||
description: |-
|
||||
The state of a room that the user has been invited
|
||||
to. These state events may only have the `sender`,
|
||||
`type`, `state_key` and `content` keys
|
||||
present. These events do not replace any state that
|
||||
the client already has for the room, for example if
|
||||
the client has archived the room. Instead the
|
||||
client should keep two separate copies of the
|
||||
state: the one from the `invite_state` and one
|
||||
from the archived `state`. If the client joins
|
||||
the room then the current state will be given as a
|
||||
delta against the archived `state` not the
|
||||
`invite_state`.
|
||||
The [stripped state](#stripped-state) of a room that the user has been invited
|
||||
to.
|
||||
properties:
|
||||
events:
|
||||
description: The StrippedState events that form the invite state.
|
||||
description: The [stripped state events](#stripped-state) that form the invite state.
|
||||
items:
|
||||
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
||||
$ref: "../../event-schemas/schema/core-event-schema/stripped_state.yaml"
|
||||
type: array
|
||||
knock:
|
||||
title: Knocked rooms
|
||||
|
@ -295,14 +285,12 @@ paths:
|
|||
title: KnockState
|
||||
type: object
|
||||
description: |-
|
||||
The state of a room that the user has knocked upon. The state
|
||||
events contained here have the same restrictions as `InviteState`
|
||||
above.
|
||||
The [stripped state](#stripped-state) of a room that the user has knocked upon.
|
||||
properties:
|
||||
events:
|
||||
description: The StrippedState events that form the knock state.
|
||||
description: The [stripped state events](#stripped-state) that form the knock state.
|
||||
items:
|
||||
$ref: "../../event-schemas/schema/stripped_state.yaml"
|
||||
$ref: "../../event-schemas/schema/core-event-schema/stripped_state.yaml"
|
||||
type: array
|
||||
leave:
|
||||
title: Left rooms
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue