summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-07-24 14:03:15 +0100
committerMatthew Hodgson <matthew@matrix.org>2018-07-24 14:03:15 +0100
commit1a01a5b964d3ea373355684a91b9f7fd95726fbc (patch)
treec9fa552273b4369e2129f6a51680c32947eb4ad5
parentconsider non-filter_type types as wildcards, thus missing from the state-grou... (diff)
downloadsynapse-1a01a5b964d3ea373355684a91b9f7fd95726fbc.tar.xz
clarify comment on p_ids
-rw-r--r--synapse/handlers/sync.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 1422843af8..4ced3144c8 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -1553,7 +1553,8 @@ def _calculate_state(
     # as we may not have sent them to the client before.  We find these membership
     # events by filtering them out of timeline_start, which has already been filtered
     # to only include membership events for the senders in the timeline.
-    # In practice, we can do this by removing them from the p_ids list.
+    # In practice, we can do this by removing them from the p_ids list,
+    # which is the list of relevant state we know we have already sent to the client.
     # see https://github.com/matrix-org/synapse/pull/2970
     #            /files/efcdacad7d1b7f52f879179701c7e0d9b763511f#r204732809