summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-19 16:34:31 +0100
committerErik Johnston <erik@matrix.org>2015-05-19 16:34:31 +0100
commit9084cdd70f0b9c03de4e72897cabd30f545b6cb5 (patch)
tree5f63dae79c41c013a5b9ab68223a6ec55bb72864 /synapse
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perf (diff)
downloadsynapse-9084cdd70f0b9c03de4e72897cabd30f545b6cb5.tar.xz
Ensure event_results is a set
Diffstat (limited to '')
-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 2880850506..2f913adf20 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -378,7 +378,7 @@ class EventFederationStore(SQLBaseStore):
             room_id, repr(event_list), limit
         )
 
-        event_results = event_list
+        event_results = set(event_list)
 
         front = event_list