mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-24 07:13:09 -06:00
switch SS /peek to use SendEventWithRewrite
This commit is contained in:
parent
927a62a7f0
commit
1e6e23dab1
|
|
@ -456,7 +456,7 @@ func (t *txnReq) processEventWithMissingState(ctx context.Context, e gomatrixser
|
|||
// pass the event along with the state to the roomserver using a background context so we don't
|
||||
// needlessly expire
|
||||
headeredEvent := e.Headered(roomVersion)
|
||||
return api.SendEventWithState(context.Background(), t.rsAPI, resolvedState, headeredEvent, t.haveEventIDs(), roomVersion)
|
||||
return api.SendEventWithState(context.Background(), t.rsAPI, resolvedState, headeredEvent, t.haveEventIDs())
|
||||
}
|
||||
|
||||
// lookupStateAfterEvent returns the room state after `eventID`, which is the state before eventID with the state of `eventID` (if it's a state event)
|
||||
|
|
|
|||
Loading…
Reference in a new issue