This commit is contained in:
Eric Eastwood 2024-06-03 10:01:42 -05:00
parent 3cb71cada7
commit b14e8631d2

View file

@ -271,6 +271,8 @@ class SlidingSyncHandler:
# Apply filters # Apply filters
filtered_room_ids = room_id_set filtered_room_ids = room_id_set
if list_config.filters is not None: if list_config.filters is not None:
# TODO: To be absolutely correct, this could also take into account
# from/to tokens
filtered_room_ids = await self.filter_rooms( filtered_room_ids = await self.filter_rooms(
sync_config.user, room_id_set, list_config.filters sync_config.user, room_id_set, list_config.filters
) )