Remove weird stuff

This commit is contained in:
Erik Johnston 2016-01-25 13:13:46 +00:00
parent 8c6012a4af
commit d59c58bc95

View File

@ -130,11 +130,6 @@ class SyncHandler(BaseHandler):
self.event_sources = hs.get_event_sources() self.event_sources = hs.get_event_sources()
self.clock = hs.get_clock() self.clock = hs.get_clock()
@defer.inlineCallbacks
def get_sync_for_user(self, sync_config, since_token=None, timeout=0,
filter_collection=DEFAULT_FILTER_COLLECTION):
pass
@defer.inlineCallbacks @defer.inlineCallbacks
def wait_for_sync_for_user(self, sync_config, since_token=None, timeout=0, def wait_for_sync_for_user(self, sync_config, since_token=None, timeout=0,
full_state=False): full_state=False):
@ -777,7 +772,6 @@ class SyncHandler(BaseHandler):
just_joined = yield self.check_joined_room(sync_config, state) just_joined = yield self.check_joined_room(sync_config, state)
if just_joined: if just_joined:
state = yield self.get_state_at(room_id, now_token) state = yield self.get_state_at(room_id, now_token)
# batch.limited = True
notifs = yield self.unread_notifs_for_room_id( notifs = yield self.unread_notifs_for_room_id(
room_id, sync_config, all_ephemeral_by_room room_id, sync_config, all_ephemeral_by_room