summary refs log tree commit diff
path: root/synapse/storage/event_federation.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/event_federation.py')
-rw-r--r--synapse/storage/event_federation.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index 8188b7cbc4..8a56476f56 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -390,11 +390,6 @@ class EventFederationStore(SQLBaseStore):
         queue = PriorityQueue()
 
         for event_id in event_list:
-            txn.execute(
-                query,
-                (room_id, event_id, limit - len(event_results))
-            )
-
             depth = self._simple_select_one_onecol_txn(
                 txn,
                 table="events",