From 2fbcd644d063c70a775bc086a0e695ab1a2f7acf Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Wed, 28 Jan 2026 14:51:16 -0800 Subject: [PATCH] Tag event author when tagging parent event --- CHANGELOG.md | 4 ++++ src/app/core/commands.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b68b2c6f..703c69cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# Current + +* Tag event author when tagging parent event + # 1.6.3 * Fix scroll down button z index diff --git a/src/app/core/commands.ts b/src/app/core/commands.ts index b3cb0fb8..642b68e7 100644 --- a/src/app/core/commands.ts +++ b/src/app/core/commands.ts @@ -62,6 +62,7 @@ import { repository, publishThunk, tagEvent, + tagPubkey, tagEventForReaction, nip44EncryptToSelf, tagEventForComment, @@ -106,7 +107,7 @@ export const prependParent = (parent: TrustedEvent | undefined, {content, tags}: relays: Router.get().Event(parent).limit(3).getUrls(), }) - tags = [...tags, tagEventForQuote(parent)] + tags = [...tags, tagEventForQuote(parent), tagPubkey(parent.pubkey)] content = toNostrURI(nevent) + "\n\n" + content }