aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/messages.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-15 15:59:35 -0700
committerAdam Soltys <[email protected]>2026-08-15 15:59:35 -0700
commitcae7dcfbf8e1222f496cee003a436f24d5a43686 (patch)
tree816863aa1a773a49bff0abf8d45bacf8e19ca16a /src/features/messages.js
parentc42f379ad3ae25eec94404c8e64ea19c9921f03a (diff)
downloadcoinosv3-cae7dcfbf8e1222f496cee003a436f24d5a43686.tar.gz
coinosv3-cae7dcfbf8e1222f496cee003a436f24d5a43686.zip
Your profile knows it's yours even when the keys are elsewhere — ownership follows the identity the header wears, not just the loaded signer
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv
Diffstat (limited to 'src/features/messages.js')
-rw-r--r--src/features/messages.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index a6cc1e1..1edcba3 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -1363,7 +1363,7 @@ export function messagesFeature(ctx) {
function profileScreen() {
const pk = ui.profilePk;
- const mine = isMe(pk);
+ const mine = isMe(pk) || (ctx.shownPubkey && pk === ctx.shownPubkey());
const full = fullProfiles.get(pk);
// Your own profile IS the editor — the form appears prefilled as soon as
// the published kind 0 arrives, no Edit step.