Tag event author when tagging parent event

This commit is contained in:
Jon Staab
2026-01-28 14:51:16 -08:00
parent cf8e736f46
commit 2fbcd644d0
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# Changelog # Changelog
# Current
* Tag event author when tagging parent event
# 1.6.3 # 1.6.3
* Fix scroll down button z index * Fix scroll down button z index
+2 -1
View File
@@ -62,6 +62,7 @@ import {
repository, repository,
publishThunk, publishThunk,
tagEvent, tagEvent,
tagPubkey,
tagEventForReaction, tagEventForReaction,
nip44EncryptToSelf, nip44EncryptToSelf,
tagEventForComment, tagEventForComment,
@@ -106,7 +107,7 @@ export const prependParent = (parent: TrustedEvent | undefined, {content, tags}:
relays: Router.get().Event(parent).limit(3).getUrls(), 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 content = toNostrURI(nevent) + "\n\n" + content
} }