From c81dba4a5d9d7653e924b984ca9a9136b85e85a8 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 11 Sep 2018 11:59:24 +0100 Subject: improve comment --- synapse/handlers/sync.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 93d37a4764..cd219504d8 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -747,7 +747,12 @@ class SyncHandler(object): # more state in the server than if we were LLing. # # We still have to filter timeline_start to LL entries (above) in order - # for _calculate_state's LL logic to work. + # for _calculate_state's LL logic to work, as we have to include LL + # members for timeline senders in case they weren't loaded in the initial + # sync. We do this by (counterintuitively) by filtering timeline_start + # members to just be ones which were timeline senders, which then ensures + # all of the rest get included in the state block (if we need to know about + # them). types = None filtered_types = None -- cgit 1.4.1