Update ical-rs version to fix bug with unicode characters in params

addresses #157
This commit is contained in:
Lennart
2025-12-17 17:33:46 +01:00
parent ecad0d4490
commit fb0bd67176
4 changed files with 42 additions and 33 deletions

View File

@@ -42,21 +42,21 @@ pub async fn route_get<C: CalendarStore, S: SubscriptionStore>(
ical_calendar_builder = ical_calendar_builder.set(Property {
name: "X-WR-CALNAME".to_owned(),
value: Some(displayname),
params: None,
params: vec![],
});
}
if let Some(description) = calendar.meta.description {
ical_calendar_builder = ical_calendar_builder.set(Property {
name: "X-WR-CALDESC".to_owned(),
value: Some(description),
params: None,
params: vec![],
});
}
if let Some(timezone_id) = calendar.timezone_id {
ical_calendar_builder = ical_calendar_builder.set(Property {
name: "X-WR-TIMEZONE".to_owned(),
value: Some(timezone_id),
params: None,
params: vec![],
});
}

View File

@@ -36,7 +36,7 @@ pub async fn route_import<AS: AddressbookStore, S: SubscriptionStore>(
card_mut.set_property(Property {
name: "UID".to_owned(),
value: Some(uuid::Uuid::new_v4().to_string()),
params: None,
params: vec![],
});
card = card_mut.verify().unwrap();
}

View File

@@ -152,7 +152,7 @@ impl EventObject {
ev.set_property(Property {
name: "RECURRENCE-ID".to_string(),
value: Some(dateformat.clone()),
params: None,
params: vec![],
});
ev.set_property(Property {
name: "DTSTART".to_string(),