carddav: Fix namespace for max-resource-size

This commit is contained in:
Lennart
2025-12-31 15:57:13 +01:00
parent 829f7b727f
commit 8c44733d0a
3 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ pub enum AddressbookProp {
SupportedCollationSet(SupportedCollationSet),
#[xml(ns = "rustical_dav::namespace::NS_DAV", skip_deserializing)]
SupportedReportSet(SupportedReportSet<ReportMethod>),
#[xml(ns = "rustical_dav::namespace::NS_DAV")]
#[xml(ns = "rustical_dav::namespace::NS_CARDDAV")]
MaxResourceSize(i64),
}

View File

@@ -28,7 +28,7 @@ expression: response.serialize_to_string().unwrap()
</report>
</supported-report>
</supported-report-set>
<max-resource-size xmlns="DAV:">10000000</max-resource-size>
<max-resource-size xmlns="urn:ietf:params:xml:ns:carddav">10000000</max-resource-size>
<sync-token xmlns="DAV:">github.com/lennart-k/rustical/ns/0</sync-token>
<getctag xmlns="http://calendarserver.org/ns/">github.com/lennart-k/rustical/ns/0</getctag>
<transports xmlns="https://bitfire.at/webdav-push">