feat: do not collect email addresses from messages after configuration

This can only result in adding unencrypted email-contacts
and we do not want to encourage creating unencrypted chats.
This commit is contained in:
link2xt
2026-01-27 02:52:06 +00:00
committed by l
parent f0a12d493c
commit 26ddcfaaed
6 changed files with 4 additions and 195 deletions

View File

@@ -23,7 +23,7 @@ use percent_encoding::utf8_percent_encode;
use server_params::{ServerParams, expand_param_vector};
use tokio::task;
use crate::config::{self, Config};
use crate::config::Config;
use crate::constants::NON_ALPHANUMERIC_WITHOUT_DOT;
use crate::context::Context;
use crate::imap::Imap;
@@ -631,8 +631,6 @@ async fn configure(ctx: &Context, param: &EnteredLoginParam) -> Result<Option<&'
progress!(ctx, 920);
ctx.set_config_internal(Config::FetchedExistingMsgs, config::from_bool(false))
.await?;
ctx.scheduler.interrupt_inbox().await;
progress!(ctx, 940);