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-12 13:23:37 -0500
committerGitHub <noreply@github.com>2022-03-12 13:23:37 -0500
commit54f674f7a9107d3dccd6c126c3e99337314a12c2 (patch)
treecc4b37faa812cf016b41b052b5211f70318794a3 /synapse/config/experimental.py
parentAdd config settings for background update parameters (#11980) (diff)
downloadsynapse-54f674f7a9107d3dccd6c126c3e99337314a12c2.tar.xz
Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200)
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 41338b39df..064db4487c 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -74,3 +74,6 @@ class ExperimentalConfig(Config):
 
         # MSC3720 (Account status endpoint)
         self.msc3720_enabled: bool = experimental.get("msc3720_enabled", False)
+
+        # The deprecated groups feature.
+        self.groups_enabled: bool = experimental.get("groups_enabled", True)