0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-20 04:02:14 +02:00

Output isTrusted information in AutoDiscovery CLI app

This commit is contained in:
cketti 2023-06-08 20:19:25 +02:00
parent 7562eb84ac
commit 104cbbcff3

View File

@ -24,5 +24,10 @@ internal class AutoDiscoveryResultFormatter(private val echo: (String) -> Unit)
echo(" Authentication type: ${outgoingServer.authenticationType}") echo(" Authentication type: ${outgoingServer.authenticationType}")
echo(" Username: ${outgoingServer.username}") echo(" Username: ${outgoingServer.username}")
echo("------------------------------") echo("------------------------------")
if (settings.isTrusted) {
echo("These settings have been retrieved through trusted channels.")
} else {
echo("At least one UNTRUSTED channel was involved in retrieving these settings.")
}
} }
} }