diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-16 12:55:29 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-16 12:55:29 +0100 |
commit | 608b5a6317ce3797ff279f6d1a8a39f475b55736 (patch) | |
tree | 915dca892d48c155d73b0c3faa27db4dc7e0f807 | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/prefill_state (diff) | |
download | synapse-608b5a6317ce3797ff279f6d1a8a39f475b55736.tar.xz |
Take a copy before prefilling, as it may be a frozendict
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index 03981f5d2b..85acf2ad1e 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -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, ) |