Skip to content
Snippets Groups Projects
Commit b9c2ae67 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Merge pull request #1849 from matrix-org/erikj/state_typo

Fix bug where current_state_events renamed to current_state_ids
parents 85be3dde 41dab8a2
No related branches found
No related tags found
No related merge requests found
......@@ -195,11 +195,11 @@ class StateHandler(object):
(s.type, s.state_key): s.event_id for s in old_state
}
if event.is_state():
context.current_state_events = dict(context.prev_state_ids)
context.current_state_ids = dict(context.prev_state_ids)
key = (event.type, event.state_key)
context.current_state_events[key] = event.event_id
context.current_state_ids[key] = event.event_id
else:
context.current_state_events = context.prev_state_ids
context.current_state_ids = context.prev_state_ids
else:
context.current_state_ids = {}
context.prev_state_ids = {}
......
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