Skip to content
Snippets Groups Projects
Commit 23da4a40 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix typo where we thought a list was a dict

parent 42b725ce
No related branches found
No related tags found
No related merge requests found
......@@ -263,9 +263,10 @@ class StateHandler(object):
}
if event_type:
prev_states = conflicted_state.get(
(event_type, state_key), {}
).keys()
prev_states_events = conflicted_state.get(
(event_type, state_key), []
)
prev_states = [s.event_id for s in prev_states_events]
else:
prev_states = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment