mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 02:40:22 +00:00
Comment
This commit is contained in:
parent
7e919bdbd0
commit
d61a04583e
1 changed files with 3 additions and 0 deletions
|
@ -245,6 +245,9 @@ class StreamStore(SQLBaseStore):
|
||||||
defer.returnValue(results)
|
defer.returnValue(results)
|
||||||
|
|
||||||
def get_rooms_that_changed(self, room_ids, from_key):
|
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
|
from_key = RoomStreamToken.parse_stream_token(from_key).stream
|
||||||
return set(
|
return set(
|
||||||
room_id for room_id in room_ids
|
room_id for room_id in room_ids
|
||||||
|
|
Loading…
Reference in a new issue