From 78f947817b8a6f2d15d042d39eb5f2e9d5cb7d1c Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 4 Aug 2026 01:53:11 -0700 Subject: Your own npub stays out of the profile editor Co-Authored-By: Claude Fable 5 --- src/features/messages.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/features') diff --git a/src/features/messages.js b/src/features/messages.js index 293ebd9..0a17b03 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -1077,7 +1077,9 @@ export function messagesFeature(ctx) { ? h('div', { class: 'row gap6', style: 'align-items:center' }, h('span', { class: 'spinner sm' })) // the editor's About textarea IS the bio here — no static copy above it : showAbout && !ui.profEdit ? h('p', { class: 'small', style: 'margin:0;white-space:pre-wrap' }, about.slice(0, 1000)) : null, - h('div', { class: 'addr-box break npub-box', style: 'font-size:11px' }, + // your own npub stays out of the editor — it means nothing to most + // people, and the account settings still show it to those who care + mine ? null : h('div', { class: 'addr-box break npub-box', style: 'font-size:11px' }, h('span', { class: 'grow', style: 'min-width:0' }, npub), h('button', { class: 'copy-ico', title: t('copy'), -- cgit v1.2.3