mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
feat: reset more settings when configuring a chatmail account
This commit is contained in:
@@ -459,7 +459,11 @@ async fn configure(ctx: &Context, param: &mut LoginParam) -> Result<()> {
|
|||||||
progress!(ctx, 900);
|
progress!(ctx, 900);
|
||||||
|
|
||||||
if imap_session.is_chatmail() {
|
if imap_session.is_chatmail() {
|
||||||
|
ctx.set_config(Config::SentboxWatch, None).await?;
|
||||||
ctx.set_config(Config::MvboxMove, Some("0")).await?;
|
ctx.set_config(Config::MvboxMove, Some("0")).await?;
|
||||||
|
ctx.set_config(Config::OnlyFetchMvbox, None).await?;
|
||||||
|
ctx.set_config(Config::ShowEmails, None).await?;
|
||||||
|
ctx.set_config(Config::E2eeEnabled, Some("1")).await?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let create_mvbox = ctx.should_watch_mvbox().await?;
|
let create_mvbox = ctx.should_watch_mvbox().await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user