summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorJohannes Marbach <n0-0ne+github@mailbox.org>2024-06-18 12:03:39 +0200
committerGitHub <noreply@github.com>2024-06-18 10:03:39 +0000
commit79767a1108a9a126b18e063eb7e8b063cac94e66 (patch)
tree46ff81878c0aad82fff56de27d2be7bb47590a62 /synapse/config
parentfix missing quotes for exclude_rooms_from_sync (#17308) (diff)
downloadsynapse-79767a1108a9a126b18e063eb7e8b063cac94e66.tar.xz
Add support for via query parameter from MSC4156 (#17322)
This adds support for the `via` query parameter from
https://github.com/matrix-org/matrix-spec-proposals/pull/4156.
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 24546171e5..23e96da6a3 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -439,3 +439,6 @@ class ExperimentalConfig(Config):
 
         # MSC4151: Report room API (Client-Server API)
         self.msc4151_enabled: bool = experimental.get("msc4151_enabled", False)
+
+        # MSC4156: Migrate server_name to via
+        self.msc4156_enabled: bool = experimental.get("msc4156_enabled", False)