Fixed implementation errors

* Added HS as property in SyncRestServlet
* Fixed set_timeline_upper_limit function implementat¡ion
This commit is contained in:
Pablo Saavedra 2017-05-15 14:51:43 +02:00
parent 9da4316ca5
commit 627e6ea2b0
2 changed files with 7 additions and 3 deletions

View file

@ -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()