summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-01 17:35:23 +0000
committerErik Johnston <erik@matrix.org>2017-02-01 17:35:23 +0000
commitd61a04583eda3ba4deea4b82b93e61903919e1a8 (patch)
tree58e13c53f568fecc559aefc3b3173c43c0525a28 /synapse/storage/stream.py
parentInclude newly joined users in /keys/changes API (diff)
downloadsynapse-d61a04583eda3ba4deea4b82b93e61903919e1a8.tar.xz
Comment
Diffstat (limited to '')
-rw-r--r--synapse/storage/stream.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index cdc1838895..3765d0095c 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -245,6 +245,9 @@ class StreamStore(SQLBaseStore):
         defer.returnValue(results)
 
     def get_rooms_that_changed(self, room_ids, from_key):
+        """Given a list of rooms and a token, return rooms where there may have
+        been changes.
+        """
         from_key = RoomStreamToken.parse_stream_token(from_key).stream
         return set(
             room_id for room_id in room_ids