mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 18:12:27 +00:00
Add getcontenttype prop to REPORT calendar
This commit is contained in:
@@ -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(())
|
||||
|
||||
Reference in New Issue
Block a user