Parcourir la source

deleted unused code

Yurii Sokolovskyi il y a 2 mois
Parent
commit
ff20a07421
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      src/imap.rs

+ 0 - 2
src/imap.rs

@@ -388,8 +388,6 @@ pub fn check_for_updates(mailbox: String) -> JoinHandle<Result<(), anyhow::Error
                         Response::Data { .. } => {}
                         Response::Expunge(_) => {
                             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::Fetch(_, _) => {}