Pārlūkot izejas kodu

deleted unused code

Yurii Sokolovskyi 2 mēneši atpakaļ
vecāks
revīzija
ff20a07421
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  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(_, _) => {}