diff options
author | Alex Auvolat <alex@adnab.me> | 2022-07-13 15:39:52 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-07-13 15:39:52 +0200 |
commit | 3b256de3dc1347bf449905de714ac5486935264a (patch) | |
tree | 55fbeb68d510ed62f02566870a62907d1e37520d /src/mail/mailbox.rs | |
parent | 956a92377ea46e730f9fe5dcfee8b49be65e78ec (diff) | |
download | aerogramme-3b256de3dc1347bf449905de714ac5486935264a.tar.gz aerogramme-3b256de3dc1347bf449905de714ac5486935264a.zip |
Remove OK [UNSEEN x] responses to SELECT and EXAMINE, and fix STATUS UNSEEN
Diffstat (limited to 'src/mail/mailbox.rs')
-rw-r--r-- | src/mail/mailbox.rs | 5 |
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(()) |