diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-03-12 13:23:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-12 13:23:37 -0500 |
commit | 54f674f7a9107d3dccd6c126c3e99337314a12c2 (patch) | |
tree | cc4b37faa812cf016b41b052b5211f70318794a3 /synapse/app | |
parent | Add config settings for background update parameters (#11980) (diff) | |
download | synapse-54f674f7a9107d3dccd6c126c3e99337314a12c2.tar.xz |
Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200)
Diffstat (limited to 'synapse/app')
-rw-r--r-- | synapse/app/generic_worker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py index a10a63b06c..b6f510ed30 100644 --- a/synapse/app/generic_worker.py +++ b/synapse/app/generic_worker.py @@ -322,7 +322,8 @@ class GenericWorkerServer(HomeServer): presence.register_servlets(self, resource) - groups.register_servlets(self, resource) + if self.config.experimental.groups_enabled: + groups.register_servlets(self, resource) resources.update({CLIENT_API_PREFIX: resource}) |