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.
This commit is contained in:
iequidoo
2024-06-05 19:45:27 -03:00
committed by iequidoo
parent 25b8a482bc
commit 87a57cd63b

View File

@@ -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")?;