mirror of
https://github.com/chatmail/core.git
synced 2026-05-05 06:16:30 +03:00
configure: log SOCKS5 configuration for IMAP like we do for SMTP
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with
|
- Emit DC_EVENT_MSGS_CHANGED for DC_CHAT_ID_ARCHIVED_LINK when the number of archived chats with
|
||||||
unread messages increases #3959
|
unread messages increases #3959
|
||||||
- Fix Peerstate comparison #3962
|
- Fix Peerstate comparison #3962
|
||||||
|
- Log SOCKS5 configuration for IMAP like already done for SMTP #3964
|
||||||
|
|
||||||
### API-Changes
|
### API-Changes
|
||||||
- jsonrpc: add verified-by information to `Contact`-Object
|
- jsonrpc: add verified-by information to `Contact`-Object
|
||||||
|
|||||||
@@ -565,13 +565,18 @@ async fn try_imap_one_param(
|
|||||||
provider_strict_tls: bool,
|
provider_strict_tls: bool,
|
||||||
) -> Result<Imap, ConfigurationError> {
|
) -> Result<Imap, ConfigurationError> {
|
||||||
let inf = format!(
|
let inf = format!(
|
||||||
"imap: {}@{}:{} security={} certificate_checks={} oauth2={}",
|
"imap: {}@{}:{} security={} certificate_checks={} oauth2={} socks5_config={}",
|
||||||
param.user,
|
param.user,
|
||||||
param.server,
|
param.server,
|
||||||
param.port,
|
param.port,
|
||||||
param.security,
|
param.security,
|
||||||
param.certificate_checks,
|
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);
|
info!(context, "Trying: {}", inf);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user