diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-11-24 00:32:04 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-11-24 00:32:04 +0000 |
commit | 7f14f0ae3861bf9596358614133ed3bb7b8cefc4 (patch) | |
tree | b53f1cf23e999cd211eb9774dd482f927e136bd1 /synapse/app/synchrotron.py | |
parent | Merge pull request #2701 from matrix-org/rav/one_mediarepo_to_rule_them_all (diff) | |
download | synapse-7f14f0ae3861bf9596358614133ed3bb7b8cefc4.tar.xz |
Remove dead sync_callback
This is never used; let's remove it to stop confusing things.
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r-- | synapse/app/synchrotron.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py index 576ac6fb7e..f68f45ea4f 100644 --- a/synapse/app/synchrotron.py +++ b/synapse/app/synchrotron.py @@ -343,8 +343,6 @@ class SyncReplicationHandler(ReplicationClientHandler): self.presence_handler = hs.get_presence_handler() self.notifier = hs.get_notifier() - self.presence_handler.sync_callback = self.send_user_sync - def on_rdata(self, stream_name, token, rows): super(SyncReplicationHandler, self).on_rdata(stream_name, token, rows) |