From 3b256de3dc1347bf449905de714ac5486935264a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 13 Jul 2022 15:39:52 +0200 Subject: Remove OK [UNSEEN x] responses to SELECT and EXAMINE, and fix STATUS UNSEEN --- src/mail/mailbox.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mail/mailbox.rs') 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(()) -- cgit v1.2.3