summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
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()
                     ]