From 87a57cd63bce652abc3061c87a51de8e22602d45 Mon Sep 17 00:00:00 2001 From: iequidoo Date: Wed, 5 Jun 2024 19:45:27 -0300 Subject: [PATCH] fix: Allow fetch_existing_msgs for bots (#4976) There was a comment in `fetch_existing_msgs()`: "Bots don't want those messages". If a bot doesn't want this setting, why enable it? It's disabled by default anyway. --- src/imap.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/imap.rs b/src/imap.rs index 9be43d269..c0bb2e6bd 100644 --- a/src/imap.rs +++ b/src/imap.rs @@ -766,10 +766,6 @@ impl Imap { context: &Context, session: &mut Session, ) -> Result<()> { - if context.get_config_bool(Config::Bot).await? { - return Ok(()); // Bots don't want those messages - } - add_all_recipients_as_contacts(context, session, Config::ConfiguredSentboxFolder) .await .context("failed to get recipients from the sentbox")?;