configure: log SOCKS5 configuration for IMAP like we do for SMTP

This commit is contained in:
link2xt
2023-01-18 09:30:14 +00:00
parent e43b36b61f
commit cf0349acc8
2 changed files with 8 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with
unread messages increases #3959
- Fix Peerstate comparison #3962
- Log SOCKS5 configuration for IMAP like already done for SMTP #3964
### API-Changes
- jsonrpc: add verified-by information to `Contact`-Object

View File

@@ -565,13 +565,18 @@ async fn try_imap_one_param(
provider_strict_tls: bool,
) -> Result<Imap, ConfigurationError> {
let inf = format!(
"imap: {}@{}:{} security={} certificate_checks={} oauth2={}",
"imap: {}@{}:{} security={} certificate_checks={} oauth2={} socks5_config={}",
param.user,
param.server,
param.port,
param.security,
param.certificate_checks,
param.oauth2
param.oauth2,
if let Some(socks5_config) = socks5_config {
socks5_config.to_string()
} else {
"None".to_string()
}
);
info!(context, "Trying: {}", inf);