|
@@ -388,8 +388,6 @@ pub fn check_for_updates(mailbox: String) -> JoinHandle<Result<(), anyhow::Error
|
|
Response::Data { .. } => {}
|
|
Response::Data { .. } => {}
|
|
Response::Expunge(_) => {
|
|
Response::Expunge(_) => {
|
|
let _ = remove_deleted_emails(mailbox.clone()).await;
|
|
let _ = remove_deleted_emails(mailbox.clone()).await;
|
|
- // check other folders if the email was moved
|
|
|
|
- // download_email_from_imap().await.expect("Cannot download new emails");
|
|
|
|
}
|
|
}
|
|
Response::Vanished { .. } => {}
|
|
Response::Vanished { .. } => {}
|
|
Response::Fetch(_, _) => {}
|
|
Response::Fetch(_, _) => {}
|