Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Take a copy before prefilling, as it may be a frozendict
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed May 16, 2017
1 parent f451b64 commit 608b5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _store_mult_state_groups_txn(self, txn, events_and_contexts):
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,
)

Expand Down

0 comments on commit 608b5a6

Please sign in to comment.