From 8e9a99edd76d8d9d3b4fd4d5ab42e75d46a656d8 Mon Sep 17 00:00:00 2001 From: timedout Date: Sat, 11 Apr 2026 20:08:46 +0100 Subject: [PATCH] Explicitly denote that `replaces_state` ignores history visibility --- .../client-server/definitions/client_event_without_room_id.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/api/client-server/definitions/client_event_without_room_id.yaml b/data/api/client-server/definitions/client_event_without_room_id.yaml index 0988fcc2..b8abe446 100644 --- a/data/api/client-server/definitions/client_event_without_room_id.yaml +++ b/data/api/client-server/definitions/client_event_without_room_id.yaml @@ -118,7 +118,9 @@ properties: 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. + Unlike `prev_content`, this field is included regardless of history visibility. type: string + x-addedInMatrixVersion: "1.19" membership: description: | The room membership of the user making the request, at the time of the event.