summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/sync.py
diff options
context:
space:
mode:
authorPablo Saavedra <psaavedra@igalia.com>2017-05-15 14:51:43 +0200
committerPablo Saavedra <psaavedra@igalia.com>2017-05-15 14:51:43 +0200
commit627e6ea2b0b941c67f8752736993f82a5f123e76 (patch)
treece83ffe6c85582f936ec7137ced211ada9101e86 /synapse/rest/client/v2_alpha/sync.py
parentConfigurable maximum number of events requested by /sync and /messages (#2220) (diff)
downloadsynapse-627e6ea2b0b941c67f8752736993f82a5f123e76.tar.xz
Fixed implementation errors
* Added HS as property in SyncRestServlet
* Fixed set_timeline_upper_limit function implementat¡ion
Diffstat (limited to '')
-rw-r--r--synapse/rest/client/v2_alpha/sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/sync.py b/synapse/rest/client/v2_alpha/sync.py
index f5e7349c5c..771e127ab9 100644
--- a/synapse/rest/client/v2_alpha/sync.py
+++ b/synapse/rest/client/v2_alpha/sync.py
@@ -79,6 +79,7 @@ class SyncRestServlet(RestServlet):
 
     def __init__(self, hs):
         super(SyncRestServlet, self).__init__()
+        self.hs = hs
         self.auth = hs.get_auth()
         self.sync_handler = hs.get_sync_handler()
         self.clock = hs.get_clock()