Skip to content

Commit 081e66b

Browse files
committed
Never create mvbox when configuring a new transport
1 parent 0ae5433 commit 081e66b

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/configure.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -559,25 +559,10 @@ async fn configure(ctx: &Context, param: &EnteredLoginParam) -> Result<Option<&'
559559

560560
progress!(ctx, 900);
561561

562-
let is_chatmail = match ctx.get_config_bool(Config::FixIsChatmail).await? {
563-
false => {
564-
let is_chatmail = imap_session.is_chatmail();
565-
ctx.set_config(
566-
Config::IsChatmail,
567-
Some(match is_chatmail {
568-
false => "0",
569-
true => "1",
570-
}),
571-
)
572-
.await?;
573-
is_chatmail
574-
}
575-
true => ctx.get_config_bool(Config::IsChatmail).await?,
576-
};
577562
ctx.sql.set_raw_config("mvbox_move", Some("0")).await?;
578563
ctx.sql.set_raw_config("only_fetch_mvbox", None).await?;
579564

580-
let create_mvbox = !is_chatmail;
565+
let create_mvbox = false;
581566
imap.configure_folders(ctx, &mut imap_session, create_mvbox)
582567
.await?;
583568

0 commit comments

Comments
 (0)