Take a copy before prefilling, as it may be a frozendict

pull/2224/head
Erik Johnston 2017-05-16 12:55:29 +01:00
parent f451b64c8f
commit 608b5a6317
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ class StateStore(SQLBaseStore):
self._state_group_cache.update,
self._state_group_cache.sequence,
key=context.state_group,
value=context.current_state_ids,
value=dict(context.current_state_ids),
full=True,
)