From 66673bc9d1bc68de4716c053ffa7a6b36038af42 Mon Sep 17 00:00:00 2001 From: John Coffey Date: Fri, 25 Sep 2026 21:14:54 -0700 Subject: [PATCH] About: show the mail node's hostname, not its address The address is only shown when the node has no PTR record. --- web/src/views/settings/AboutSettings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/views/settings/AboutSettings.tsx b/web/src/views/settings/AboutSettings.tsx index 357df1e..1ae9500 100644 --- a/web/src/views/settings/AboutSettings.tsx +++ b/web/src/views/settings/AboutSettings.tsx @@ -16,7 +16,8 @@ interface Nodes { function mailNodeLabel(m: Nodes["mailServer"]): string { if (!m.address) return t("{host} does not resolve", { host: m.host }); - return m.name ? `${m.name} (${m.address})` : m.address; + // The node's hostname; the bare address only when it has no PTR record. + return m.name ?? m.address; } export function AboutSettings() {