From 5ca3567b4e0542726dd921e7c0507c4bce83b430 Mon Sep 17 00:00:00 2001 From: DocNR Date: Wed, 17 Jun 2026 06:26:44 -0400 Subject: [PATCH] feat(branding): client tag (NIP-89) reads JANK too The ['client', ...] label other clients show as 'posted via ...' used BRAND.nostrClientTag = 'jank'. It's a bare label with no d-tag / handler address and nothing matches the string in logic, so it's visible brand copy, not a wire identifier. Flip it to JANK to match the rest of the brand (caught by Daniel post-review). Co-Authored-By: Claude Opus 4.8 --- src/branding.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/branding.ts b/src/branding.ts index 6ce013e..b21674c 100644 --- a/src/branding.ts +++ b/src/branding.ts @@ -23,7 +23,10 @@ export const BRAND = { homepage: 'https://jank.army', repo: 'https://github.com/DocNR/jank', issuesUrl: 'https://github.com/DocNR/jank/issues/new', - nostrClientTag: 'jank', + // NIP-89 client label other clients render as "via JANK". It's a bare + // ['client', value] label (no d-tag / handler address, not matched in logic), + // so it's visible brand copy — keep it as JANK, not a lowercase wire id. + nostrClientTag: 'JANK', // Empty until a jank support account exists. ErrorBoundary hides the // social-support link when this is empty. supportNpub: '',