Tweaks to backfill (#964)

This commit is contained in:
Neil Alexander 2020-04-15 14:39:27 +01:00 committed by GitHub
parent 895a72b6ee
commit 7b3edf4622
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ func Backfill(
}
var eventJSONs []json.RawMessage
for _, e := range evs {
for _, e := range gomatrixserverlib.ReverseTopologicalOrdering(evs) {
eventJSONs = append(eventJSONs, e.JSON())
}