DAV file management delete
This commit is contained in:
@@ -161,7 +161,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
|
||||
for (mailbox_id, mailbox_) in self
|
||||
.server
|
||||
.get_properties::<Archive, _, _>(
|
||||
.get_properties::<Archive, _>(
|
||||
account_id,
|
||||
Collection::Mailbox,
|
||||
&mailbox_ids,
|
||||
|
||||
@@ -52,7 +52,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
let mut uid_map = BTreeMap::new();
|
||||
for (message_id, uid_mailbox_) in self
|
||||
.server
|
||||
.get_properties::<Archive, _, _>(
|
||||
.get_properties::<Archive, _>(
|
||||
mailbox.account_id,
|
||||
Collection::Email,
|
||||
&message_ids,
|
||||
|
||||
@@ -93,7 +93,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
.with_account_id(params.account_id)
|
||||
.with_collection(Collection::Mailbox)
|
||||
.create_document()
|
||||
.custom(ObjectIndexBuilder::new().with_changes(mailbox))
|
||||
.custom(ObjectIndexBuilder::<(), _>::new().with_changes(mailbox))
|
||||
.imap_ctx(&arguments.tag, trc::location!())?;
|
||||
let mailbox_id = self
|
||||
.server
|
||||
|
||||
@@ -194,7 +194,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
|
||||
for (id, mailbox_ids) in self
|
||||
.server
|
||||
.get_properties::<HashedValue<Archive>, _, _>(
|
||||
.get_properties::<HashedValue<Archive>, _>(
|
||||
account_id,
|
||||
Collection::Email,
|
||||
deleted_ids,
|
||||
|
||||
@@ -143,7 +143,7 @@ impl<T: SessionStream> SessionData<T> {
|
||||
.with_account_id(params.account_id)
|
||||
.with_collection(Collection::Mailbox)
|
||||
.create_document()
|
||||
.custom(ObjectIndexBuilder::new().with_changes(
|
||||
.custom(ObjectIndexBuilder::<(), _>::new().with_changes(
|
||||
email::mailbox::Mailbox::new(path_item).with_parent_id(parent_id),
|
||||
))
|
||||
.imap_ctx(&arguments.tag, trc::location!())?;
|
||||
|
||||
Reference in New Issue
Block a user