summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-30 14:53:01 +0100
committerErik Johnston <erik@matrix.org>2017-05-30 14:53:01 +0100
commit04095f75810176d7ba2b5ef70b40dd1a3281850d (patch)
treef7c8cf32dcf88d0b006ae758155014c22a46a798 /synapse/storage/events.py
parentAdd current_state_delta_stream table (diff)
downloadsynapse-04095f75810176d7ba2b5ef70b40dd1a3281850d.tar.xz
Add clobbered event_id
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index c37a2a6f16..dfb57f9d12 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -749,6 +749,7 @@ class EventsStore(SQLBaseStore):
                             "type": key[0],
                             "state_key": key[1],
                             "event_id": ev_id,
+                            "prev_event_id": to_delete.get(key, None),
                         }
                         for key, ev_id in state_deltas.iteritems()
                     ]