Add getcontenttype prop to REPORT calendar

This commit is contained in:
Lennart
2023-09-07 21:28:40 +02:00
parent 4b9fe27c1f
commit c1d42eff20

View File

@@ -53,7 +53,14 @@ async fn handle_report_calendar_query(
.create_element("C:calendar-data")
.write_text_content(BytesText::new(event.to_ics()))?;
}
_ => {}
"getcontenttype" => {
writer
.create_element("getcontenttype")
.write_text_content(BytesText::new("text/calendar"))?;
}
prop => {
dbg!(prop);
}
}
}
Ok(())