diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-14 14:08:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 14:08:06 +0000 |
commit | e8b68a4e4b439065536c281d8997af85880f6ee2 (patch) | |
tree | 789fbafaf84ba78548ad6c924770aafeb986a635 /synapse/replication/tcp/streams/federation.py | |
parent | Quarantine media by ID or user ID (#6681) (diff) | |
download | synapse-e8b68a4e4b439065536c281d8997af85880f6ee2.tar.xz |
Fixup synapse.replication to pass mypy checks (#6667)
Diffstat (limited to 'synapse/replication/tcp/streams/federation.py')
-rw-r--r-- | synapse/replication/tcp/streams/federation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/replication/tcp/streams/federation.py b/synapse/replication/tcp/streams/federation.py index dc2484109d..615f3dc9ac 100644 --- a/synapse/replication/tcp/streams/federation.py +++ b/synapse/replication/tcp/streams/federation.py @@ -37,7 +37,7 @@ class FederationStream(Stream): def __init__(self, hs): federation_sender = hs.get_federation_sender() - self.current_token = federation_sender.get_current_token - self.update_function = federation_sender.get_replication_rows + self.current_token = federation_sender.get_current_token # type: ignore + self.update_function = federation_sender.get_replication_rows # type: ignore super(FederationStream, self).__init__(hs) |