Show TLS status

pull/194/merge
M66B 3 years ago
parent 4f1311036d
commit 0d236e5dcd

@ -3846,7 +3846,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (result.size() > 0) if (result.size() > 0)
sb.append(context.getString(R.string.title_authentication_failed, TextUtils.join(", ", result))); sb.append(context.getString(R.string.title_authentication_failed, TextUtils.join(", ", result)));
else { else {
if (BuildConfig.DEBUG) if (check_tls)
sb.append("TLS: ") sb.append("TLS: ")
.append(message.tls == null ? "-" : (message.tls ? "✓" : "✗")) .append(message.tls == null ? "-" : (message.tls ? "✓" : "✗"))
.append('\n'); .append('\n');

Loading…
Cancel
Save