Add first VTODO support

This commit is contained in:
Lennart
2024-09-30 20:20:32 +02:00
parent b3a7806139
commit eeacbc888d
4 changed files with 23 additions and 10 deletions

View File

@@ -115,9 +115,14 @@ impl Resource for CalendarResource {
CalendarPropName::CalendarOrder => CalendarProp::CalendarOrder(Some(self.0.order)),
CalendarPropName::SupportedCalendarComponentSet => {
CalendarProp::SupportedCalendarComponentSet(SupportedCalendarComponentSet {
comp: vec![SupportedCalendarComponent {
name: "VEVENT".to_owned(),
}],
comp: vec![
SupportedCalendarComponent {
name: "VEVENT".to_owned(),
},
SupportedCalendarComponent {
name: "VTODO".to_owned(),
},
],
})
}
CalendarPropName::SupportedCalendarData => {