summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-16 12:55:29 +0100
committerErik Johnston <erik@matrix.org>2017-05-16 12:55:29 +0100
commit608b5a6317ce3797ff279f6d1a8a39f475b55736 (patch)
tree915dca892d48c155d73b0c3faa27db4dc7e0f807 /synapse/storage
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/prefill_state (diff)
downloadsynapse-608b5a6317ce3797ff279f6d1a8a39f475b55736.tar.xz
Take a copy before prefilling, as it may be a frozendict
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/state.py2
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, )