From d59c58bc95e3ca6ea4ad9a7e62c6bc3f5f724978 Mon Sep 17 00:00:00 2001
From: Erik Johnston <erik@matrix.org>
Date: Mon, 25 Jan 2016 13:13:46 +0000
Subject: [PATCH] Remove weird stuff

---
 synapse/handlers/sync.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 9b5b4d2c9f..84b0599174 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -130,11 +130,6 @@ class SyncHandler(BaseHandler):
         self.event_sources = hs.get_event_sources()
         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
     def wait_for_sync_for_user(self, sync_config, since_token=None, timeout=0,
                                full_state=False):
@@ -777,7 +772,6 @@ class SyncHandler(BaseHandler):
         just_joined = yield self.check_joined_room(sync_config, state)
         if just_joined:
             state = yield self.get_state_at(room_id, now_token)
-            # batch.limited = True
 
         notifs = yield self.unread_notifs_for_room_id(
             room_id, sync_config, all_ephemeral_by_room
-- 
GitLab