summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorTravis Ralston <travisr@element.io>2024-06-12 04:27:46 -0600
committerGitHub <noreply@github.com>2024-06-12 12:27:46 +0200
commitf1c4dfb08b530f2bfaf9c6723ce69ccd231a3370 (patch)
tree4c6a10da47f03ead7817b7c1188bb0e2bb53dfaa /synapse/config
parentBump types-jsonschema from 4.21.0.20240311 to 4.22.0.20240610 (#17288) (diff)
downloadsynapse-f1c4dfb08b530f2bfaf9c6723ce69ccd231a3370.tar.xz
Add report room API (MSC4151) (#17270)
https://github.com/matrix-org/matrix-spec-proposals/pull/4151

This is intended to be enabled by default for immediate use. When FCP is
complete, the unstable endpoint will be dropped and stable endpoint
supported instead - no backwards compatibility is expected for the
unstable endpoint.
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/experimental.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py
index 75fe6d7b24..5fe5b951dd 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -443,3 +443,6 @@ class ExperimentalConfig(Config):
         self.msc3916_authenticated_media_enabled = experimental.get(
             "msc3916_authenticated_media_enabled", False
         )
+
+        # MSC4151: Report room API (Client-Server API)
+        self.msc4151_enabled: bool = experimental.get("msc4151_enabled", False)