mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-03 22:52:47 +00:00
Use GME context for roomserver queuing
This commit is contained in:
parent
efb9588a36
commit
957b3787c2
2 changed files with 20 additions and 17 deletions
|
@ -734,7 +734,7 @@ func (t *txnReq) processEventWithMissingState(
|
|||
// newly resolved state. This marks the "oldest" point in the backfill and
|
||||
// sets the baseline state for any new events after this.
|
||||
err = api.SendEventWithState(
|
||||
context.Background(),
|
||||
gmectx,
|
||||
t.rsAPI,
|
||||
api.KindOld,
|
||||
resolvedState,
|
||||
|
@ -754,7 +754,7 @@ func (t *txnReq) processEventWithMissingState(
|
|||
headeredNewEvents[i] = newEvent.Headered(roomVersion)
|
||||
}
|
||||
if err = api.SendEvents(
|
||||
context.Background(),
|
||||
gmectx,
|
||||
t.rsAPI,
|
||||
api.KindOld,
|
||||
append(headeredNewEvents, e.Headered(roomVersion)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue