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/streams/_base.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/streams/_base.py')
-rw-r--r-- | synapse/replication/tcp/streams/_base.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/synapse/replication/tcp/streams/_base.py b/synapse/replication/tcp/streams/_base.py index 495f2f0285..398bebeaa6 100644 --- a/synapse/replication/tcp/streams/_base.py +++ b/synapse/replication/tcp/streams/_base.py @@ -585,26 +585,6 @@ class AccountDataStream(Stream): return updates, to_token, limited -class GroupServerStream(Stream): - @attr.s(slots=True, frozen=True, auto_attribs=True) - class GroupsStreamRow: - group_id: str - user_id: str - type: str - content: JsonDict - - NAME = "groups" - ROW_TYPE = GroupsStreamRow - - def __init__(self, hs: "HomeServer"): - store = hs.get_datastores().main - super().__init__( - hs.get_instance_name(), - current_token_without_instance(store.get_group_stream_token), - store.get_all_groups_changes, - ) - - class UserSignatureStream(Stream): """A user has signed their own device with their user-signing key""" |