summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-03-20 11:47:21 -0400
committerGitHub <noreply@github.com>2023-03-20 11:47:21 -0400
commit25006acc1766ca51fba0d898b4613d2588cfffb8 (patch)
tree95cf63ff6e94f7c7e66e121a710264a406e0c3e6
parentBump pygithub from 1.57 to 1.58.1 (#15290) (diff)
downloadsynapse-25006acc1766ca51fba0d898b4613d2588cfffb8.tar.xz
Add /versions flag for MSC3952. (#15293)
-rw-r--r--changelog.d/15293.misc1
-rw-r--r--synapse/rest/client/versions.py2
2 files changed, 3 insertions, 0 deletions
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,
                 },
             },
         )