Update gomatrixserverlib

This commit is contained in:
Neil Alexander 2020-04-27 15:47:36 +01:00
parent 3ab8ebf6b8
commit 87f05721b0
4 changed files with 11 additions and 5 deletions

View file

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