summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2023-05-17 14:03:43 -0500
committerEric Eastwood <contact@ericeastwood.com>2023-05-17 14:03:43 -0500
commit8a0f9f2bace5dd5b0f90798617b3589e407331b5 (patch)
treee02b53b862996fbcb938dbc4f716d31ee7c5ad57
parentApply url_preview_url_blacklist to oEmbed and pre-cached images (#15601) (diff)
downloadsynapse-8a0f9f2bace5dd5b0f90798617b3589e407331b5.tar.xz
Idea: maybe we can pull out less state
-rw-r--r--synapse/state/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index 6031095249..03352bcdff 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -516,6 +516,7 @@ class StateHandler:
 
         state_to_resolve = await self._state_storage_controller.get_state_for_groups(
             state_group_ids_set
+            # TODO: Can we use a state_filter here to only grab auth events (and maybe history visibility)?
         )
 
         result = await self._state_resolution_handler.resolve_state_groups(