summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-01-25 17:42:58 -0600
committerEric Eastwood <erice@element.io>2022-01-25 17:42:58 -0600
commit55ef667e96551ad67dbbb3e3e292d5877686453b (patch)
treefd7ca8b65dc845df470929b62072dc3579044827
parentRestore auth_event_id caching as it does something looking closer at the flam... (diff)
downloadsynapse-55ef667e96551ad67dbbb3e3e292d5877686453b.tar.xz
Add extra potential check
-rw-r--r--synapse/handlers/room_batch.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/room_batch.py b/synapse/handlers/room_batch.py
index 89dbbb0c89..361f3015ce 100644
--- a/synapse/handlers/room_batch.py
+++ b/synapse/handlers/room_batch.py
@@ -381,6 +381,8 @@ class RoomBatchHandler:
                 # TODO: Can we get away without this? Can't we just rely on validate_new below?
                 # self.validator.validate_builder(builder)
 
+                # TODO: Do we need to sanity check the number of prev_events?
+
                 resultant_auth_event_ids = (
                     event_sender_and_type_to_auth_event_ids_cache.get(
                         (ev["sender"], ev["type"])