mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-31 18:53:10 -06:00
Revert "Topologically sort with SendEventWithState, so that earlier events should satisfy auth for later ones"
This reverts commit b0cd706012.
This commit is contained in:
parent
b0cd706012
commit
6e7a04c368
|
|
@ -56,8 +56,6 @@ func SendEventWithState(
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
outliers = gomatrixserverlib.ReverseTopologicalOrdering(outliers, gomatrixserverlib.TopologicalOrderByAuthEvents)
|
|
||||||
|
|
||||||
var ires []InputRoomEvent
|
var ires []InputRoomEvent
|
||||||
for _, outlier := range outliers {
|
for _, outlier := range outliers {
|
||||||
if haveEventIDs[outlier.EventID()] {
|
if haveEventIDs[outlier.EventID()] {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue