diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-05-31 13:04:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 13:04:08 -0400 |
commit | cf05258f7672dd0dc054723e866c86f5e171b552 (patch) | |
tree | 6d489a27a110d953ed961c8c43253c4e732058ae /synapse/replication/tcp/client.py | |
parent | Add config options for media retention (#12732) (diff) | |
download | synapse-cf05258f7672dd0dc054723e866c86f5e171b552.tar.xz |
Remove groups replication code. (#12900)
The replication logic for groups is no longer used, so the message passing infrastructure can be removed.
Diffstat (limited to 'synapse/replication/tcp/client.py')
-rw-r--r-- | synapse/replication/tcp/client.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py index a52e25c1af..2f59245058 100644 --- a/synapse/replication/tcp/client.py +++ b/synapse/replication/tcp/client.py @@ -30,7 +30,6 @@ from synapse.replication.tcp.protocol import ClientReplicationStreamProtocol from synapse.replication.tcp.streams import ( AccountDataStream, DeviceListsStream, - GroupServerStream, PushersStream, PushRulesStream, ReceiptsStream, @@ -185,10 +184,6 @@ class ReplicationDataHandler: self.notifier.on_new_event( StreamKeyType.DEVICE_LIST, token, rooms=all_room_ids ) - elif stream_name == GroupServerStream.NAME: - self.notifier.on_new_event( - "groups_key", token, users=[row.user_id for row in rows] - ) elif stream_name == PushersStream.NAME: for row in rows: if row.deleted: |