This commit is contained in:
Eric Eastwood 2024-06-05 15:42:07 -05:00
parent 5078d36bd3
commit 1158cc6d2d

View file

@ -336,6 +336,9 @@ class SlidingSyncHandler:
# Apply filters
filtered_room_ids = room_id_set
if list_config.filters is not None:
# TODO: To be absolutely correct, this could also take into account
# from/to tokens but some of the streams don't support looking back
# in time (like global account_data).
filtered_room_ids = await self.filter_rooms(
sync_config.user, room_id_set, list_config.filters
)