mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Dispatch to-device events when handling sync response
This commit is contained in:
parent
ba1fce8fce
commit
1110f8fc61
1 changed files with 1 additions and 0 deletions
1
sync.go
1
sync.go
|
|
@ -140,6 +140,7 @@ func (s *DefaultSyncer) ProcessResponse(res *RespSync, since string) (err error)
|
|||
}
|
||||
}
|
||||
|
||||
s.processSyncEvents("", res.ToDevice.Events, EventSourceToDevice)
|
||||
s.processSyncEvents("", res.Presence.Events, EventSourcePresence)
|
||||
s.processSyncEvents("", res.AccountData.Events, EventSourceAccountData)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue