Dispatch to-device events when handling sync response

This commit is contained in:
Tulir Asokan 2022-08-15 17:14:38 +03:00
commit 1110f8fc61

View file

@ -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)