JMAP protocol layer refactoring (passing tests)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user