diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-05-25 07:53:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 07:53:40 -0400 |
commit | a8db8c6eba8625f8fc224b320be6074d849ceada (patch) | |
tree | acac5db5c8ba3a4cac269e3bb36f34bb7d210012 /synapse/rest/client/sync.py | |
parent | Fix caching behavior for relations push rules. (#12859) (diff) | |
download | synapse-a8db8c6eba8625f8fc224b320be6074d849ceada.tar.xz |
Remove user-visible groups/communities code (#12553)
Makes it so that groups/communities no longer exist from a user-POV. E.g. we remove: * All API endpoints (including Client-Server, Server-Server, and admin). * Documented configuration options (and the experimental flag, which is now unused). * Special handling during room upgrades. * The `groups` section of the `/sync` response.
Diffstat (limited to 'synapse/rest/client/sync.py')
-rw-r--r-- | synapse/rest/client/sync.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/rest/client/sync.py b/synapse/rest/client/sync.py index e8772f86e7..f596b792fa 100644 --- a/synapse/rest/client/sync.py +++ b/synapse/rest/client/sync.py @@ -298,14 +298,6 @@ class SyncRestServlet(RestServlet): if archived: response["rooms"][Membership.LEAVE] = archived - if sync_result.groups is not None: - if sync_result.groups.join: - response["groups"][Membership.JOIN] = sync_result.groups.join - if sync_result.groups.invite: - response["groups"][Membership.INVITE] = sync_result.groups.invite - if sync_result.groups.leave: - response["groups"][Membership.LEAVE] = sync_result.groups.leave - return response @staticmethod |