Add more contexts everywhere

This commit is contained in:
Tulir Asokan 2024-01-07 22:44:06 +02:00
commit 25bc36bc7a
37 changed files with 879 additions and 833 deletions

View file

@ -236,7 +236,7 @@ func (as *AppService) handleEvents(ctx context.Context, evts []*event.Event, def
}
if evt.Type.IsState() {
mautrix.UpdateStateStore(as.StateStore, evt)
mautrix.UpdateStateStore(ctx, as.StateStore, evt)
}
var ch chan *event.Event
if evt.Type.Class == event.ToDeviceEventType {