mirror of
https://github.com/element-hq/synapse
synced 2024-09-02 02:10:20 +00:00
Remove unnecessary iteritems
This commit is contained in:
parent
ed0dd68731
commit
8f65ab98d2
1 changed files with 1 additions and 1 deletions
|
@ -696,7 +696,7 @@ class EventsStore(EventsWorkerStore):
|
||||||
existing_state = yield self.get_current_state_ids(room_id)
|
existing_state = yield self.get_current_state_ids(room_id)
|
||||||
|
|
||||||
to_delete = [
|
to_delete = [
|
||||||
key for key, ev_id in iteritems(existing_state)
|
key for key in existing_state
|
||||||
if key not in current_state
|
if key not in current_state
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue