Add max-resource-size to calendar

This commit is contained in:
Lennart
2023-09-07 21:55:46 +02:00
parent 8ed209e16c
commit 1ef1d9701e

View File

@@ -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),
};