Bump to calcard v0.3.2
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -158,6 +158,7 @@ mod tests {
|
||||
),
|
||||
),
|
||||
("Test-ąęć-Test", "Test-ąęć-Test"),
|
||||
(r#"&A8g- "&A9QD1APUA9gD3APcA-+""#, "ψ \"ϔϔϔϘϜϜ+\""),
|
||||
] {
|
||||
assert_eq!(
|
||||
super::utf7_decode(input).expect(input),
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user