mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 23:03:10 -06:00
Don't store backfilled events using request context
This commit is contained in:
parent
85c43e1bef
commit
d5e94124fe
|
|
@ -412,7 +412,7 @@ func (r *messagesReq) backfill(roomID string, backwardsExtremities map[string][]
|
||||||
// up in responses to sync requests.
|
// up in responses to sync requests.
|
||||||
for i := range res.Events {
|
for i := range res.Events {
|
||||||
_, err = r.db.WriteEvent(
|
_, err = r.db.WriteEvent(
|
||||||
r.ctx,
|
context.Background(),
|
||||||
&res.Events[i],
|
&res.Events[i],
|
||||||
[]gomatrixserverlib.HeaderedEvent{},
|
[]gomatrixserverlib.HeaderedEvent{},
|
||||||
[]string{},
|
[]string{},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue