summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-21 15:44:05 +0100
committerErik Johnston <erik@matrix.org>2015-05-21 15:44:05 +0100
commitdc085ddf8cfa887672f5c505b3bf9c2ce7fc0d58 (patch)
tree56dbf3fcca592541e510d978e3d95cbb26b2ab59 /synapse
parentDon't readd things that are already in event_results (diff)
downloadsynapse-dc085ddf8cfa887672f5c505b3bf9c2ce7fc0d58.tar.xz
Don't prepopulate event_results
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/event_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index a3da117799..26d570cf2d 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -372,7 +372,7 @@ class EventFederationStore(SQLBaseStore):
             room_id, repr(event_list), limit
         )
 
-        event_results = set(event_list)
+        event_results = set()
 
         # We want to make sure that we do a breadth-first, "depth" ordered
         # search.