nip57: include "e" tag.

This commit is contained in:
Don 2025-08-04 20:27:13 +09:00 committed by fiatjaf_
parent 929d62bbbb
commit b39dac3551
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ export function makeZapRequest(params: ProfileZap | EventZap): EventTemplate {
} }
if ('event' in params) { if ('event' in params) {
zr.tags.push(['e', params.event.id])
if (isReplaceableKind(params.event.kind)) { if (isReplaceableKind(params.event.kind)) {
const a = ['a', `${params.event.kind}:${params.event.pubkey}:`] const a = ['a', `${params.event.kind}:${params.event.pubkey}:`]
zr.tags.push(a) zr.tags.push(a)