From 1810cc3f7e26ebaf76d47cfdf968ca67f00270d8 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Wed, 30 May 2018 11:32:27 +0100 Subject: [PATCH] Remove unnecessary set --- synapse/storage/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 77a0dcd3b8..0c870df3f7 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -1414,7 +1414,7 @@ class EventsStore(EventsWorkerStore): # Set of event_ids of all prev_events of those in `forward_events`. This # is guaranteed to contain at least the given event_id. sibling_events = set() - for eid in set(forward_events): + for eid in forward_events: chunk_id = self._simple_select_one_onecol_txn( txn, table="events",