Jelajahi Sumber

deleted unused code

Yurii Sokolovskyi 2 bulan lalu
induk
melakukan
ff20a07421
1 mengubah file dengan 0 tambahan dan 2 penghapusan
  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(_, _) => {}