From 9084cdd70f0b9c03de4e72897cabd30f545b6cb5 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 19 May 2015 16:34:31 +0100 Subject: [PATCH] Ensure event_results is a set --- synapse/storage/event_federation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 288085050..2f913adf2 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