Bump to calcard v0.3.2

This commit is contained in:
mdecimus
2025-12-12 18:14:04 +01:00
parent 4e25f7ddf1
commit 74cf0dae1e
6 changed files with 32 additions and 16 deletions

View File

@@ -249,6 +249,18 @@ mod tests {
}],
},
),
(
"A003 APPEND \"&A8g- \\\"&A9QD1APUA9gD3APcA-+\\\"\" (\\Seen) \"7-Feb-1994 22:43:04 -0800\" {1+}\r\na\r\n",
append::Arguments {
tag: "A003".into(),
mailbox_name: "ψ \"ϔϔϔϘϜϜ+\"".into(),
messages: vec![Message {
message: vec![b'a'],
flags: vec![Flag::Seen],
received_at: Some(760689784),
}],
},
),
] {
assert_eq!(
receiver

View File

@@ -158,6 +158,7 @@ mod tests {
),
),
("Test-ąęć-Test", "Test-ąęć-Test"),
(r#"&A8g- "&A9QD1APUA9gD3APcA-+""#, "ψ \"ϔϔϔϘϜϜ+\""),
] {
assert_eq!(
super::utf7_decode(input).expect(input),

View File

@@ -33,7 +33,10 @@ use jmap_proto::{
use jmap_tools::{Key, Map, Value};
use std::{str::FromStr, sync::Arc};
use store::{
ValueKey, ahash::{AHashMap, AHashSet}, roaring::RoaringBitmap, write::{AlignedBytes, Archive}
ValueKey,
ahash::{AHashMap, AHashSet},
roaring::RoaringBitmap,
write::{AlignedBytes, Archive},
};
use trc::AddContext;
use types::{
@@ -129,7 +132,7 @@ impl CalendarEventGet for Server {
return_is_origin = true;
}
_ => {
if matches!(property, JSCalendarProperty::ICalComponent) {
if matches!(property, JSCalendarProperty::ICalendar) {
return_converted_props = true;
}