summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-25 13:13:46 +0000
committerErik Johnston <erik@matrix.org>2016-01-25 13:38:53 +0000
commitd59c58bc95e3ca6ea4ad9a7e62c6bc3f5f724978 (patch)
tree8959eb4146e6e1a8e46ebc2fcedd9729557338d5
parentFix tests (diff)
downloadsynapse-d59c58bc95e3ca6ea4ad9a7e62c6bc3f5f724978.tar.xz
Remove weird stuff
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py6
1 files changed, 0 insertions, 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
@@ -131,11 +131,6 @@ class SyncHandler(BaseHandler):
         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):
         """Get the sync for a client if we have new data for it now. Otherwise
@@ -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