From 0fbdf3e0a2d4d0dc3c9293e46c86319703f3b505 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Tue, 16 Sep 2025 10:40:21 +0200 Subject: [PATCH 1/3] Remove unintentional intentional mentions in replies as per MSC4142 Signed-off-by: Johannes Marbach --- content/client-server-api/modules/rich_replies.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/content/client-server-api/modules/rich_replies.md b/content/client-server-api/modules/rich_replies.md index 5ad2a10e1..a292a84b8 100644 --- a/content/client-server-api/modules/rich_replies.md +++ b/content/client-server-api/modules/rich_replies.md @@ -64,11 +64,11 @@ as if it were to be under `m.relates_to` directly instead. #### Mentioning the replied to user -In order to notify users of the reply, it may be desirable to include the `sender` -of the replied to event and any users mentioned in that event. See -[user and room mentions](#user-and-room-mentions) for additional information. +In order to notify users of the reply, it MAY be desirable to include the `sender` +of the replied to event. See [user and room mentions](#user-and-room-mentions) for +additional information. -An example including mentioning the original sender and other users: +An example including mentioning the original sender: ```json { @@ -83,8 +83,6 @@ An example including mentioning the original sender and other users: "user_ids": [ // The sender of $another_event. "@alice:example.org", - // Another Matrix ID copied from the m.mentions property of $another_event. - "@bob:example.org" ] } }, From 3f45e10dc827988328c15d1ff8896a233d90ffe8 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Tue, 16 Sep 2025 10:43:02 +0200 Subject: [PATCH 2/3] Add changelog Signed-off-by: Johannes Marbach --- changelogs/client_server/newsfragments/2210.removal | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/client_server/newsfragments/2210.removal diff --git a/changelogs/client_server/newsfragments/2210.removal b/changelogs/client_server/newsfragments/2210.removal new file mode 100644 index 000000000..97c512bf6 --- /dev/null +++ b/changelogs/client_server/newsfragments/2210.removal @@ -0,0 +1 @@ +Remove unintentional intentional mentions in replies as per [MSC4142](https://github.com/matrix-org/matrix-spec-proposals/pull/4142). From 19c7e3d3294fd4faff8667dd05a6c6cf85b90b72 Mon Sep 17 00:00:00 2001 From: Johannes Marbach Date: Tue, 16 Sep 2025 15:24:50 +0200 Subject: [PATCH 3/3] Add changed-in note Signed-off-by: Johannes Marbach --- content/client-server-api/modules/rich_replies.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/client-server-api/modules/rich_replies.md b/content/client-server-api/modules/rich_replies.md index a292a84b8..37b8bc9e5 100644 --- a/content/client-server-api/modules/rich_replies.md +++ b/content/client-server-api/modules/rich_replies.md @@ -64,6 +64,11 @@ as if it were to be under `m.relates_to` directly instead. #### Mentioning the replied to user +{{% boxes/note %}} +{{% changed-in v="1.16" %}} +Clients SHOULD no longer propagate mentioned users in the replied to event. +{{% /boxes/note %}} + In order to notify users of the reply, it MAY be desirable to include the `sender` of the replied to event. See [user and room mentions](#user-and-room-mentions) for additional information.