diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-01 17:52:57 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-01 17:52:57 +0000 |
commit | fbfe44bb4de0e490b5c34ebdb1e8c0c09dd766b1 (patch) | |
tree | 2db0e911aa3ab5cb2a2b5169e98552e1e37886b0 /synapse/storage/stream.py | |
parent | Comment (diff) | |
download | synapse-fbfe44bb4de0e490b5c34ebdb1e8c0c09dd766b1.tar.xz |
Doc args
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r-- | synapse/storage/stream.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 3765d0095c..200d124632 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -247,6 +247,10 @@ class StreamStore(SQLBaseStore): 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. + + Args: + room_ids (list) + from_key (str): The room_key portion of a StreamToken """ from_key = RoomStreamToken.parse_stream_token(from_key).stream return set( |