diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2020-10-05 11:06:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 11:06:31 +0100 |
commit | c4756eee0e59ba730fa7855171e18eda9dba8b5f (patch) | |
tree | ece237d68688275d50af131789772b362174b9dd /syncapi | |
parent | 3bd66ff196a84b0c96763850228c379b2a124fb6 (diff) |
Don't store backfilled events using request context (#1478)
Diffstat (limited to 'syncapi')
-rw-r--r-- | syncapi/routing/messages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go index 9c6c6a80..e5299f20 100644 --- a/syncapi/routing/messages.go +++ b/syncapi/routing/messages.go @@ -503,7 +503,7 @@ func (r *messagesReq) backfill(roomID string, backwardsExtremities map[string][] // up in responses to sync requests. for i := range res.Events { _, err = r.db.WriteEvent( - r.ctx, + context.Background(), &res.Events[i], []gomatrixserverlib.HeaderedEvent{}, []string{}, |