summary refs log tree commit diff
path: root/synapse/config/experimental.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-06-08 09:00:35 -0400
committerGitHub <noreply@github.com>2022-06-08 09:00:35 -0400
commitdd2d66b0c9f3ff734314fcddb7f90f3225ddb555 (patch)
tree314df08bb0f45ea2701f4f2793204c41a6212813 /synapse/config/experimental.py
parentUse a GitHub form for issues rather than a hard-to-read, easy-to-ignore templ... (diff)
downloadsynapse-dd2d66b0c9f3ff734314fcddb7f90f3225ddb555.tar.xz
Move the (unstable) `dir` parameter for /relations behind an experimental flag. (#12984)
MSC3715 defines this parameter, but the unstable version of it should be
behind an experimental flag.
Diffstat (limited to 'synapse/config/experimental.py')
-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 f2dfd49b07..0a285dba31 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -84,3 +84,6 @@ class ExperimentalConfig(Config):
 
         # MSC3772: A push rule for mutual relations.
         self.msc3772_enabled: bool = experimental.get("msc3772_enabled", False)
+
+        # MSC3715: dir param on /relations.
+        self.msc3715_enabled: bool = experimental.get("msc3715_enabled", False)