About: the mail node by hostname, found with resolvePtr #17

Merged
jcoffey-dev merged 2 commits from fork/about-ptr-fix into main 2026-09-26 04:18:11 +00:00
Showing only changes of commit 66673bc9d1 - Show all commits
+2 -1
View File
@@ -16,7 +16,8 @@ interface Nodes {
function mailNodeLabel(m: Nodes["mailServer"]): string { function mailNodeLabel(m: Nodes["mailServer"]): string {
if (!m.address) return t("{host} does not resolve", { host: m.host }); 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() { export function AboutSettings() {