mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 13:11:37 +00:00
Don't store backfilled events using request context (#1478)
This commit is contained in:
parent
3bd66ff196
commit
c4756eee0e
@ -503,7 +503,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 New Issue
Block a user