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

Copy dict of context.current_state before changing it.

parent 857810d2
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ class StateStore(SQLBaseStore): ...@@ -82,7 +82,7 @@ class StateStore(SQLBaseStore):
if context.current_state is None: if context.current_state is None:
return return
state_events = context.current_state state_events = dict(context.current_state)
if event.is_state(): if event.is_state():
state_events[(event.type, event.state_key)] = event state_events[(event.type, event.state_key)] = event
......
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