0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 12:23:48 +01:00

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.sequence,
key=context.state_group,
value=context.current_state_ids,
value=dict(context.current_state_ids),
full=True,
)