Fixed an issue where updated outlook events turn into text instead of html.
This commit is contained in:
@@ -2783,7 +2783,8 @@ public class OutlookSynchronizer : WinoSynchronizer<RequestInformation, Message,
|
|||||||
Subject = calendarItem.Title,
|
Subject = calendarItem.Title,
|
||||||
Body = new Microsoft.Graph.Models.ItemBody
|
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
|
Content = calendarItem.Description
|
||||||
},
|
},
|
||||||
Location = new Microsoft.Graph.Models.Location
|
Location = new Microsoft.Graph.Models.Location
|
||||||
|
|||||||
Reference in New Issue
Block a user