summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2022-05-19 16:18:30 +0100
committerRichard van der Hoff <richard@matrix.org>2022-05-19 16:18:30 +0100
commit070c0279d43b5bbebc640097aec5a48d87d2dec4 (patch)
treecfa3372065b3bb094cdd3a334efb56f6e8ac98d9 /synapse/handlers
parentAdd detail to `cache_autotuning` config option documentation (#12776) (diff)
downloadsynapse-rav/faster_joins/work.tar.xz
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index 59b5d497be..ed0e8a9fe6 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -902,11 +902,15 @@ class SyncHandler: if full_state: if batch: current_state_ids = await self.state_store.get_state_ids_for_event( - batch.events[-1].event_id, state_filter=state_filter + batch.events[-1].event_id, + state_filter=state_filter, + await_full_state=not lazy_load_members, # TODO ) state_ids = await self.state_store.get_state_ids_for_event( - batch.events[0].event_id, state_filter=state_filter + batch.events[0].event_id, + state_filter=state_filter, + await_full_state=not lazy_load_members, # TODO ) else: