return the state_group for backfill

pull/4/merge
Mark Haines 9 years ago
parent 31a9eceda5
commit 8b8052909f
  1. 3
      synapse/storage/events.py

@ -1114,7 +1114,8 @@ class EventsStore(SQLBaseStore):
new_forward_events = []
sql = (
"SELECT -e.stream_ordering, ej.internal_metadata, ej.json"
"SELECT -e.stream_ordering, ej.internal_metadata, ej.json,"
" eg.state_group"
" FROM events as e"
" JOIN event_json as ej"
" ON e.event_id = ej.event_id AND e.room_id = ej.room_id"

Loading…
Cancel
Save