diff --git a/crates/dav/src/routes/calendar.rs b/crates/dav/src/routes/calendar.rs index 3cdf823..941e398 100644 --- a/crates/dav/src/routes/calendar.rs +++ b/crates/dav/src/routes/calendar.rs @@ -119,6 +119,7 @@ pub fn generate_propfind_calendar_response( "calendar-description", "owner", "calendar-color", + "max-resource-size", ] .iter(), ); @@ -197,6 +198,11 @@ pub fn generate_propfind_calendar_response( .create_element("getcontenttype") .write_text_content(BytesText::new("text/calendar"))?; } + "max-resource-size" => { + writer + .create_element("max-resource-size") + .write_text_content(BytesText::new("10000000"))?; + } "allprops" => {} _ => invalid_props.push(prop), };