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

This commit is contained in:
Erik Johnston 2017-05-16 12:55:29 +01:00
parent f451b64c8f
commit 608b5a6317

View File

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