aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2023-12-27 14:58:09 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2023-12-27 14:58:09 +0100
commit54c9736a247bb3534a285caa637c9afb052bc2dd (patch)
tree91efb131a2f2bb65ec07a202031927d476f78e09 /src/mail/mailbox.rs
parent477a784e45d07d414fea77cf5b49ee241dc01f65 (diff)
downloadaerogramme-54c9736a247bb3534a285caa637c9afb052bc2dd.tar.gz
aerogramme-54c9736a247bb3534a285caa637c9afb052bc2dd.zip
implemente garage storage
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r--src/mail/mailbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index c925f39..6fb7dea 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -365,7 +365,7 @@ impl MailboxInternal {
.row_fetch(&storage::Selector::Single(&RowRef::new(&self.mail_path, &sk)))
.await?;
if let Some(row_val) = res.into_iter().next() {
- self.storage.row_rm_single(&row_val.row_ref).await?;
+ self.storage.row_rm(&storage::Selector::Single(&row_val.row_ref)).await?;
}
Ok::<_, anyhow::Error>(())
}