mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Add note
This commit is contained in:
parent
5078d36bd3
commit
1158cc6d2d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue