don't use literal "configured_" strings all over the place but have clear APIs for loading/saving account login params

This commit is contained in:
holger krekel
2022-04-13 19:50:04 +02:00
parent 3c75b36148
commit c0abcf3daa
6 changed files with 22 additions and 12 deletions

View File

@@ -224,7 +224,7 @@ impl Imap {
bail!("IMAP Connect without configured params");
}
let param = LoginParam::from_database(context, "configured_").await?;
let param = LoginParam::load_configured_params(context).await?;
// the trailing underscore is correct
let imap = Self::new(