summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sync.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-16 20:19:26 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-16 20:19:26 +0100
commitf68eea808ad20362fedfba8ad95363b1694812b5 (patch)
tree25a540bccb8630da2ee84f5de6730839739c994e /synapse/rest/client/v2_alpha/sync.py
parentMerge branch 'markjh/liberate_presence_handler' into markjh/liberate_sync_han... (diff)
downloadsynapse-f68eea808ad20362fedfba8ad95363b1694812b5.tar.xz
Move SyncHandler out of the Handlers object
Diffstat (limited to 'synapse/rest/client/v2_alpha/sync.py')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index 812abe22b1..43d8e0bf39 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -79,8 +79,7 @@ class SyncRestServlet(RestServlet):
     def __init__(self, hs):
         super(SyncRestServlet, self).__init__()
         self.auth = hs.get_auth()
-        self.event_stream_handler = hs.get_handlers().event_stream_handler
-        self.sync_handler = hs.get_handlers().sync_handler
+        self.sync_handler = hs.get_sync_handler()
         self.clock = hs.get_clock()
         self.filtering = hs.get_filtering()
         self.presence_handler = hs.get_presence_handler()