mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 22:46:29 +03:00
fix missing MX resolver eg. on android (#2852)
* fix missing MX resolver eg. on android switching completely to /etc/resolv.conf (see #2780) does not work at least on some Androids (see https://github.com/deltachat/deltachat-android/issues/2151 ) therefore, we use the old approach as a fallback. * log a warning, when we again have problems with figuring out MX resolvers
This commit is contained in:
@@ -1185,7 +1185,7 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu
|
||||
let socks5_enabled = context
|
||||
.get_config_bool(config::Config::Socks5Enabled)
|
||||
.await?;
|
||||
match provider::get_provider_info(arg1, socks5_enabled).await {
|
||||
match provider::get_provider_info(&context, arg1, socks5_enabled).await {
|
||||
Some(info) => {
|
||||
println!("Information for provider belonging to {}:", arg1);
|
||||
println!("status: {}", info.status as u32);
|
||||
|
||||
Reference in New Issue
Block a user