fix: set mvbox_move before starting an account the first time

Otherwise IMAP connection for DeltaChat folder is not started,
so messages are moved to DeltaChat folder but are not picked up
from there until the bot is restarted.
pull/15/head
link2xt 2023-12-17 11:52:40 +00:00
parent 8fc3fc6f5e
commit 68e1003046
1 changed files with 1 additions and 1 deletions

View File

@ -59,9 +59,9 @@ def init(ctx, email: str, password: str, dbdir: str, verbose: int):
set_log_level(verbose, delta_db)
ac = deltachat.Account(delta_db)
ac.run_account(addr=email, password=password, show_ffi=verbose)
ac.set_config("mvbox_move", "1")
ac.set_config("sentbox_watch", "0")
ac.run_account(addr=email, password=password, show_ffi=verbose)
crew_id_old = kvstore.get("crew_id")