DAV file management delete

This commit is contained in:
mdecimus
2025-03-07 19:06:06 +01:00
parent eadd36f4cb
commit 110ec14fe6
40 changed files with 1162 additions and 416 deletions

View File

@@ -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,

View File

@@ -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,

View File

@@ -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

View File

@@ -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,

View File

@@ -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!())?;