Fixed an issue where updated outlook events turn into text instead of html.

This commit is contained in:
Burak Kaan Köse
2026-04-08 19:52:01 +02:00
parent cbdcfeae05
commit a3c35dfae5
@@ -2783,7 +2783,8 @@ public class OutlookSynchronizer : WinoSynchronizer<RequestInformation, Message,
Subject = calendarItem.Title,
Body = new Microsoft.Graph.Models.ItemBody
{
ContentType = Microsoft.Graph.Models.BodyType.Text,
// CalendarItem.Description stores HTML notes content, so updates must preserve it as HTML.
ContentType = Microsoft.Graph.Models.BodyType.Html,
Content = calendarItem.Description
},
Location = new Microsoft.Graph.Models.Location