JMAP protocol layer refactoring (passing tests)

This commit is contained in:
mdecimus
2025-09-29 18:41:16 +02:00
parent c7c996d738
commit c8e0a1b2cb
24 changed files with 528 additions and 553 deletions

View File

@@ -147,7 +147,7 @@ pub async fn fetch_mailboxes(
mailbox::Property::ParentId,
mailbox::Property::Role,
mailbox::Property::SortOrder,
mailbox::Property::ACL,
mailbox::Property::ShareWith,
]);
let mut response = request

View File

@@ -527,9 +527,9 @@ async fn import_mailboxes(
if mailbox.sort_order() > 0 {
create_request.sort_order(mailbox.sort_order());
}
if let Some(acls) = mailbox.acl() {
/*if let Some(acls) = mailbox.acl() {
create_request.acls(acls.clone().into_iter());
}
}*/
if mailbox.is_subscribed() {
create_request.is_subscribed(true);
}