mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
set max-resource-size to i64
This commit is contained in:
@@ -72,7 +72,7 @@ pub enum CalendarProp {
|
|||||||
)]
|
)]
|
||||||
SupportedCalendarData(SupportedCalendarData),
|
SupportedCalendarData(SupportedCalendarData),
|
||||||
Getcontenttype(String),
|
Getcontenttype(String),
|
||||||
MaxResourceSize(String),
|
MaxResourceSize(i64),
|
||||||
CurrentUserPrivilegeSet(UserPrivilegeSet),
|
CurrentUserPrivilegeSet(UserPrivilegeSet),
|
||||||
SupportedReportSet(SupportedReportSet),
|
SupportedReportSet(SupportedReportSet),
|
||||||
SyncToken(String),
|
SyncToken(String),
|
||||||
@@ -127,9 +127,7 @@ impl Resource for CalendarResource {
|
|||||||
CalendarPropName::Getcontenttype => {
|
CalendarPropName::Getcontenttype => {
|
||||||
CalendarProp::Getcontenttype("text/calendar;charset=utf-8".to_owned())
|
CalendarProp::Getcontenttype("text/calendar;charset=utf-8".to_owned())
|
||||||
}
|
}
|
||||||
CalendarPropName::MaxResourceSize => {
|
CalendarPropName::MaxResourceSize => CalendarProp::MaxResourceSize(10000000),
|
||||||
CalendarProp::MaxResourceSize("10000000".to_owned())
|
|
||||||
}
|
|
||||||
CalendarPropName::CurrentUserPrivilegeSet => {
|
CalendarPropName::CurrentUserPrivilegeSet => {
|
||||||
CalendarProp::CurrentUserPrivilegeSet(UserPrivilegeSet::default())
|
CalendarProp::CurrentUserPrivilegeSet(UserPrivilegeSet::default())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user