summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-16 13:04:07 +0000
committerErik Johnston <erik@matrix.org>2017-03-16 13:04:07 +0000
commitda146657c9a8685eb927cd295891332af86ba15d (patch)
treec66ca7b4f6ad2bdcc22d017d72bbdf1145d1147d /synapse/handlers
parentComment (diff)
downloadsynapse-da146657c9a8685eb927cd295891332af86ba15d.tar.xz
Comments
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 3dbedb2c40..c0205da1a9 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -832,8 +832,8 @@ class SyncHandler(object):
 
     @defer.inlineCallbacks
     def _have_rooms_changed(self, sync_result_builder):
-        """Returns whether any rooms have changed since the sync. Must be an
-        incremental sync
+        """Returns whether there may be any new events that should be sent down
+        the sync. Returns True if there are.
         """
         user_id = sync_result_builder.sync_config.user.to_string()
         since_token = sync_result_builder.since_token