aboutsummaryrefslogtreecommitdiff
path: root/src/mail/mailbox.rs
diff options
context:
space:
mode:
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>(())
}