mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Add more contexts everywhere
This commit is contained in:
parent
0a302c753d
commit
25bc36bc7a
37 changed files with 879 additions and 833 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue