diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-10-15 10:30:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 14:30:48 +0000 |
commit | 55731333488bfd53ece117938dde1cef710eef68 (patch) | |
tree | 1aac455f46664ec3c65ba5358ed8b28da2949044 /synapse/config/experimental.py | |
parent | Fix logging context warnings when losing replication connection (#10984) (diff) | |
download | synapse-55731333488bfd53ece117938dde1cef710eef68.tar.xz |
Move experimental & retention config out of the server module. (#11070)
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index 7b0381c06a..b013a3918c 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -24,6 +24,9 @@ class ExperimentalConfig(Config): def read_config(self, config: JsonDict, **kwargs): experimental = config.get("experimental_features") or {} + # Whether to enable experimental MSC1849 (aka relations) support + self.msc1849_enabled = config.get("experimental_msc1849_support_enabled", True) + # MSC3026 (busy presence state) self.msc3026_enabled: bool = experimental.get("msc3026_enabled", False) |