mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03: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