summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-11-24 00:32:04 +0000
committerRichard van der Hoff <richard@matrix.org>2017-11-24 00:32:04 +0000
commit7f14f0ae3861bf9596358614133ed3bb7b8cefc4 (patch)
treeb53f1cf23e999cd211eb9774dd482f927e136bd1 /synapse/app/synchrotron.py
parentMerge pull request #2701 from matrix-org/rav/one_mediarepo_to_rule_them_all (diff)
downloadsynapse-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.py2
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)