mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 21:42:34 +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")
|
.create_element("C:calendar-data")
|
||||||
.write_text_content(BytesText::new(event.to_ics()))?;
|
.write_text_content(BytesText::new(event.to_ics()))?;
|
||||||
}
|
}
|
||||||
_ => {}
|
"getcontenttype" => {
|
||||||
|
writer
|
||||||
|
.create_element("getcontenttype")
|
||||||
|
.write_text_content(BytesText::new("text/calendar"))?;
|
||||||
|
}
|
||||||
|
prop => {
|
||||||
|
dbg!(prop);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user