Deprecate the groups/communities endpoints and add an experimental configuration flag. (#12200)

This commit is contained in:
Patrick Cloke 2022-03-12 13:23:37 -05:00 committed by GitHub
parent ef3619e61d
commit 54f674f7a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 35 additions and 7 deletions

View file

@ -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})