Put comment back

This commit is contained in:
Mark Haines 2017-06-05 16:46:18 +01:00
parent 5b301d5dc3
commit 24b34a8498

View file

@ -315,6 +315,7 @@ func (d *SyncServerDatabase) fetchStateEvents(txn *sql.Tx, roomIDToEventIDSet ma
if err != nil {
return nil, err
}
// we know we got them all otherwise an error would've been returned, so just loop the events
for _, ev := range evs {
roomID := ev.RoomID()
stateBetween[roomID] = append(stateBetween[roomID], ev)