mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 06:43:09 -06:00
Use background context when processing event with missing state
This commit is contained in:
parent
b9caccbce8
commit
1cb4e8a3af
|
|
@ -369,6 +369,7 @@ func (t *txnReq) processEvent(e gomatrixserverlib.Event, isInboundTxn bool) erro
|
|||
}
|
||||
|
||||
if !stateResp.PrevEventsExist {
|
||||
t.context = context.Background()
|
||||
return t.processEventWithMissingState(e, stateResp.RoomVersion, isInboundTxn)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue