mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 10:56:29 +03:00
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:
@@ -870,7 +870,7 @@ impl Contact {
|
||||
|
||||
let mut ret = String::new();
|
||||
if let Ok(contact) = Contact::load_from_db(context, contact_id).await {
|
||||
let loginparam = LoginParam::from_database(context, "configured_").await?;
|
||||
let loginparam = LoginParam::load_configured_params(context).await?;
|
||||
let peerstate = Peerstate::from_addr(context, &contact.addr).await?;
|
||||
|
||||
if let Some(peerstate) = peerstate.filter(|peerstate| {
|
||||
|
||||
Reference in New Issue
Block a user