mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Add max-resource-size to calendar
This commit is contained in:
@@ -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),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user