return the state_group for backfill

This commit is contained in:
Mark Haines 2016-03-30 16:20:07 +01:00
parent 31a9eceda5
commit 8b8052909f
1 changed files with 2 additions and 1 deletions

View File

@ -1114,7 +1114,8 @@ class EventsStore(SQLBaseStore):
new_forward_events = [] new_forward_events = []
sql = ( 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" " FROM events as e"
" JOIN event_json as ej" " JOIN event_json as ej"
" ON e.event_id = ej.event_id AND e.room_id = ej.room_id" " ON e.event_id = ej.event_id AND e.room_id = ej.room_id"