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-03-31 15:05:13 -0400
committerGitHub <noreply@github.com>2022-03-31 15:05:13 -0400
commitbebf994ee804ef63ce16801c6694713fcd685320 (patch)
treefd409e3f2f51451a407e372a1abbbb2af68f3c7e /synapse/config/experimental.py
parentHandle outliers in `/federation/v1/event` (#12332) (diff)
downloadsynapse-bebf994ee804ef63ce16801c6694713fcd685320.tar.xz
Move MSC2654 support behind an experimental configuration flag. (#12295)
To match the current thinking on disabling experimental features by default.
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 d6bb1f752b..43db5fcdd9 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -78,3 +78,6 @@ class ExperimentalConfig(Config):
 
         # The deprecated groups feature.
         self.groups_enabled: bool = experimental.get("groups_enabled", True)
+
+        # MSC2654: Unread counts
+        self.msc2654_enabled: bool = experimental.get("msc2654_enabled", False)