2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/3760.bugfix b/changelog.d/3760.bugfix
new file mode 100644
index 0000000000..ce61fb8a2b
--- /dev/null
+++ b/changelog.d/3760.bugfix
@@ -0,0 +1 @@
+Don't return non-LL-member state in incremental sync state blocks
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 9bca4e7067..335238970c 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -794,6 +794,7 @@ class SyncHandler(object):
# We're returning an incremental sync, with no
# "gap" since the previous sync, so normally there would be
# no state to return.
+
# But we're lazy-loading, so the client might need some more
# member events to understand the events in this timeline.
# So we fish out all the member events corresponding to the
|