aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/features')
-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.