summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-10-14 13:16:53 +0100
committerMark Haines <mark.haines@matrix.org>2015-10-14 13:16:53 +0100
commitc185c1c4139f9ea1ad5b586a2cfd9f658cffcbb3 (patch)
tree99857639ac4d54a04eebd49cf2a2932fd1193292 /synapse/handlers
parentMerge branch 'develop' into markjh/v2_sync_api (diff)
downloadsynapse-c185c1c4139f9ea1ad5b586a2cfd9f658cffcbb3.tar.xz
Fix v2 sync polling
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 380798b7ab..7b2d6e3457 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -82,7 +82,7 @@ class SyncResult(collections.namedtuple("SyncResult", [ events. """ return bool( - self.private_user_data or self.public_user_data or self.rooms + self.presence or self.joined or self.invited ) @@ -122,8 +122,8 @@ class SyncHandler(BaseHandler): ) result = yield self.notifier.wait_for_events( - sync_config.user, room_ids, - sync_config.filter, timeout, current_sync_callback + sync_config.user, room_ids, timeout, current_sync_callback, + from_token=since_token ) defer.returnValue(result)