aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-04 01:53:11 -0700
committerAdam Soltys <[email protected]>2026-08-04 01:53:11 -0700
commit78f947817b8a6f2d15d042d39eb5f2e9d5cb7d1c (patch)
tree07e8cb9b1304b38bc61ff957ccdf862148c3f03d
parentc19fd63f1687c8fdfd38a8446e7cf936342ba4ef (diff)
downloadcoinosv3-78f947817b8a6f2d15d042d39eb5f2e9d5cb7d1c.tar.gz
coinosv3-78f947817b8a6f2d15d042d39eb5f2e9d5cb7d1c.zip
Your own npub stays out of the profile editor
Co-Authored-By: Claude Fable 5 <[email protected]>
-rw-r--r--src/features/messages.js4
1 files changed, 3 insertions, 1 deletions
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'),