aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/mailbox.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index 19a95e0..c61ab0c 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -374,10 +374,7 @@ impl MailboxInternal {
)?;
// Add mail to Bayou mail index
- let add_mail_op = self
- .uid_index
- .state()
- .op_mail_add(ident, vec!["\\Unseen".into()]);
+ let add_mail_op = self.uid_index.state().op_mail_add(ident, vec![]);
self.uid_index.push(add_mail_op).await?;
Ok(())