Compare commits

...

3 commits

Author SHA1 Message Date
timedout d0fae085ce
Merge 6f098619b9 into 9c014a9045 2026-03-31 23:21:19 +01:00
timedout 6f098619b9
Add newsfrag 2026-03-29 12:48:10 +01:00
timedout 1a2072c887
Add replaces_state and update prev_content description
Signed-off-by: timedout <git@nexy7574.co.uk>
2026-03-29 12:41:50 +01:00
2 changed files with 10 additions and 3 deletions

View file

@ -0,0 +1 @@
Specify `unsigned.replaces_state` in client-formatted events. Contributed by @nexy7574.

View file

@ -101,9 +101,10 @@ properties:
type: string
prev_content:
description: |
The previous `content` for this event. This field is generated
by the local homeserver, and is only returned if the event is a state event,
and the client has permission to see the previous content.
The `content` of the previous state event that was replaced by this event.
This field is generated by the local homeserver, and is only returned if
the event is a state event, and the client has permission to see the
previous event.
x-changedInMatrixVersion:
"1.2": |
Previously, this field was specified at the top level of returned
@ -113,6 +114,11 @@ properties:
this.
title: EventContent
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:
description: |
The room membership of the user making the request, at the time of the event.