melib/imap: EXAMINE instead of SELECT in IDLE connection
parent
36cc0d4212
commit
ce559b05d7
|
@ -76,7 +76,7 @@ pub async fn idle(kit: ImapWatchKit) -> Result<()> {
|
||||||
let mailbox_hash = mailbox.hash();
|
let mailbox_hash = mailbox.hash();
|
||||||
let mut response = Vec::with_capacity(8 * 1024);
|
let mut response = Vec::with_capacity(8 * 1024);
|
||||||
let select_response = conn
|
let select_response = conn
|
||||||
.select_mailbox(mailbox_hash, &mut response, true)
|
.examine_mailbox(mailbox_hash, &mut response, true)
|
||||||
.await?
|
.await?
|
||||||
.unwrap();
|
.unwrap();
|
||||||
debug!("select response {}", String::from_utf8_lossy(&response));
|
debug!("select response {}", String::from_utf8_lossy(&response));
|
||||||
|
|
Loading…
Reference in New Issue