summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-03-16 15:36:52 +0000
committerErik Johnston <erik@matrix.org>2015-03-16 15:36:52 +0000
commitcd2539ab2a1ed1fd47b56a6b0bdf4fd8dd48430d (patch)
treee67454bd79cac6eee86815e61996ddd2102b1b50 /synapse/storage
parentMerge pull request #111 from matrix-org/send_event_dont_wait_on_notifier (diff)
parentFix tests (diff)
downloadsynapse-cd2539ab2a1ed1fd47b56a6b0bdf4fd8dd48430d.tar.xz
Merge pull request #110 from matrix-org/fix_ban
Fix ban
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 71db16d0e5..456e4bd45d 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -82,7 +82,7 @@ class StateStore(SQLBaseStore):
         if context.current_state is None:
             return
 
-        state_events = context.current_state
+        state_events = dict(context.current_state)
 
         if event.is_state():
             state_events[(event.type, event.state_key)] = event