summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <github@rvanderhoff.org.uk>2017-11-27 12:15:44 +0000
committerGitHub <noreply@github.com>2017-11-27 12:15:44 +0000
commit04bb79f139114f738d308ba48e3acad5717c0579 (patch)
tree1e588a4375c5a442c8fd43cbfeff405ddc52e148 /synapse
parentMerge pull request #2708 from matrix-org/rav/replication_logcontext_leaks (diff)
parentAdd a comment which might save some confusion (diff)
downloadsynapse-04bb79f139114f738d308ba48e3acad5717c0579.tar.xz
Merge pull request #2710 from matrix-org/rav/remove_dead_code
Tiny code cleanups
Diffstat (limited to '')
-rw-r--r--synapse/app/synchrotron.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 576ac6fb7e..323fddee21 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -340,11 +340,10 @@ class SyncReplicationHandler(ReplicationClientHandler):
 
         self.store = hs.get_datastore()
         self.typing_handler = hs.get_typing_handler()
+        # NB this is a SynchrotronPresence, not a normal PresenceHandler
         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)