diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-30 11:32:27 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-30 11:32:27 +0100 |
commit | 1810cc3f7e26ebaf76d47cfdf968ca67f00270d8 (patch) | |
tree | 10ede49ffda3123f3de8cde18fe69129395010f9 | |
parent | Correctly loop over events_and_contexts (diff) | |
download | synapse-1810cc3f7e26ebaf76d47cfdf968ca67f00270d8.tar.xz |
Remove unnecessary set
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
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", |