From 212ea3568a83498ca4b4307ae53bf535238e6b4a Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 30 May 2024 15:54:27 -0500 Subject: [PATCH] Add TODO --- synapse/handlers/sliding_sync.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py index 46cc0997f1..40b5c84f29 100644 --- a/synapse/handlers/sliding_sync.py +++ b/synapse/handlers/sliding_sync.py @@ -503,7 +503,9 @@ class SlidingSyncHandler: """ user_id = user.to_string() - # TODO: Apply filters + # TODO: Re-order filters so that the easiest, most likely to eliminate rooms, + # are first. This way when people use multiple filters, we can eliminate rooms + # and do less work for the subsequent filters. # # TODO: Exclude partially stated rooms unless the `required_state` has # `["m.room.member", "$LAZY"]`