mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-07 20:04:09 +02:00
Merge 6f098619b9 into 9c014a9045
This commit is contained in:
commit
d0fae085ce
1
changelogs/client_server/newsfragments/2345.feature
Normal file
1
changelogs/client_server/newsfragments/2345.feature
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
Specify `unsigned.replaces_state` in client-formatted events. Contributed by @nexy7574.
|
||||||
|
|
@ -101,9 +101,10 @@ properties:
|
||||||
type: string
|
type: string
|
||||||
prev_content:
|
prev_content:
|
||||||
description: |
|
description: |
|
||||||
The previous `content` for this event. This field is generated
|
The `content` of the previous state event that was replaced by this event.
|
||||||
by the local homeserver, and is only returned if the event is a state event,
|
This field is generated by the local homeserver, and is only returned if
|
||||||
and the client has permission to see the previous content.
|
the event is a state event, and the client has permission to see the
|
||||||
|
previous event.
|
||||||
x-changedInMatrixVersion:
|
x-changedInMatrixVersion:
|
||||||
"1.2": |
|
"1.2": |
|
||||||
Previously, this field was specified at the top level of returned
|
Previously, this field was specified at the top level of returned
|
||||||
|
|
@ -113,6 +114,11 @@ properties:
|
||||||
this.
|
this.
|
||||||
title: EventContent
|
title: EventContent
|
||||||
type: object
|
type: object
|
||||||
|
replaces_state:
|
||||||
|
description: |
|
||||||
|
The event ID of the state event replaced by this event. This field is generated
|
||||||
|
by the local homeserver, and is only returned if the event is a state event.
|
||||||
|
type: string
|
||||||
membership:
|
membership:
|
||||||
description: |
|
description: |
|
||||||
The room membership of the user making the request, at the time of the event.
|
The room membership of the user making the request, at the time of the event.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue