diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-01 17:35:23 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-01 17:35:23 +0000 |
commit | d61a04583eda3ba4deea4b82b93e61903919e1a8 (patch) | |
tree | 58e13c53f568fecc559aefc3b3173c43c0525a28 /synapse/storage/stream.py | |
parent | Include newly joined users in /keys/changes API (diff) | |
download | synapse-d61a04583eda3ba4deea4b82b93e61903919e1a8.tar.xz |
Comment
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/stream.py | 3 |
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 |