mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 03:46:09 -05:00
Fix s/iteriterms/itervalues
This commit is contained in:
parent
9cf519769b
commit
fde8e8f09f
@ -488,7 +488,7 @@ class StateResolutionHandler(object):
|
|||||||
# which will be used as a cache key for future resolutions, but
|
# which will be used as a cache key for future resolutions, but
|
||||||
# not get persisted.
|
# not get persisted.
|
||||||
state_group = None
|
state_group = None
|
||||||
new_state_event_ids = frozenset(new_state.iteritems())
|
new_state_event_ids = frozenset(new_state.itervalues())
|
||||||
for sg, events in state_groups_ids.iteritems():
|
for sg, events in state_groups_ids.iteritems():
|
||||||
if new_state_event_ids == frozenset(e_id for e_id in events):
|
if new_state_event_ids == frozenset(e_id for e_id in events):
|
||||||
state_group = sg
|
state_group = sg
|
||||||
|
Loading…
Reference in New Issue
Block a user