From 25006acc1766ca51fba0d898b4613d2588cfffb8 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Mon, 20 Mar 2023 11:47:21 -0400 Subject: Add /versions flag for MSC3952. (#15293) --- changelog.d/15293.misc | 1 + synapse/rest/client/versions.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog.d/15293.misc diff --git a/changelog.d/15293.misc b/changelog.d/15293.misc new file mode 100644 index 0000000000..5744795620 --- /dev/null +++ b/changelog.d/15293.misc @@ -0,0 +1 @@ +Add a `/versions` flag for [MSC3952](https://github.com/matrix-org/matrix-spec-proposals/pull/3952). diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py index dba0f0891a..ec171582b3 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -122,6 +122,8 @@ class VersionsRestServlet(RestServlet): is not None, # Adds support for relation-based redactions as per MSC3912. "org.matrix.msc3912": self.config.experimental.msc3912_enabled, + # Adds support for unstable "intentional mentions" behaviour. + "org.matrix.msc3952_intentional_mentions": self.config.experimental.msc3952_intentional_mentions, }, }, ) -- cgit 1.4.1