From 9766b142f1d130b0392ba09a2398bd98abfb0ebe Mon Sep 17 00:00:00 2001 From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Date: Tue, 16 May 2023 21:35:44 +0100 Subject: [PATCH] event_replacements: fix rationale box (#1525) This was missing its %s --- changelogs/client_server/newsfragments/1525.feature | 1 + content/client-server-api/modules/event_replacements.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 changelogs/client_server/newsfragments/1525.feature diff --git a/changelogs/client_server/newsfragments/1525.feature b/changelogs/client_server/newsfragments/1525.feature new file mode 100644 index 00000000..119ab2d6 --- /dev/null +++ b/changelogs/client_server/newsfragments/1525.feature @@ -0,0 +1 @@ +Changes to the server-side aggregation of `m.replace` (edit) events, as per [MSC3925](https://github.com/matrix-org/matrix-spec-proposals/pull/3925). diff --git a/content/client-server-api/modules/event_replacements.md b/content/client-server-api/modules/event_replacements.md index 6767b73f..1f0985ed 100644 --- a/content/client-server-api/modules/event_replacements.md +++ b/content/client-server-api/modules/event_replacements.md @@ -249,14 +249,14 @@ events](#redactions-of-edited-events) below. **Note:** the `content` of the original event is left intact. In particular servers should **not** replace the content with that of the replacement event. -{{ boxes/rationale }} +{{% boxes/rationale %}} In previous versions of the specification, servers were expected to replace the content of an edited event whenever it was served to clients (with the exception of the [`GET /_matrix/client/v3/rooms/{roomId}/event/{eventId}`](#get_matrixclientv3roomsroomideventeventid) endpoint). However, that behaviour made reliable client-side implementation difficult, and servers should no longer make this replacement. -{{ /boxes/rationale }} +{{% /boxes/rationale %}} #### Client behaviour