SyncCollection already requests calendar-data via the query's CompRequest, but only the ETag and last-modified props were decoded, so a caller had to follow every sync with a multiget even when the server (e.g. Radicale, SOGo) returned the calendar object inline in the sync-collection response. Decode the calendar-data prop into CalendarObject.Data when it is present; when the server omits it, Data is left nil and the caller fetches it with a multiget as before. Backward compatible. Signed-off-by: Henry Stern <henry@stern.ca> Assisted-by: Claude (Anthropic) <noreply@anthropic.com>
Languages
Go
100%