melib/imap: EXAMINE instead of SELECT in IDLE connection

jmap-eventsource
Manos Pitsidianakis 2020-09-24 12:15:00 +03:00
parent 36cc0d4212
commit ce559b05d7
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ pub async fn idle(kit: ImapWatchKit) -> Result<()> {
let mailbox_hash = mailbox.hash();
let mut response = Vec::with_capacity(8 * 1024);
let select_response = conn
.select_mailbox(mailbox_hash, &mut response, true)
.examine_mailbox(mailbox_hash, &mut response, true)
.await?
.unwrap();
debug!("select response {}", String::from_utf8_lossy(&response));