nip17: include recipient "p" tag.

This commit is contained in:
fiatjaf 2024-09-15 12:57:36 -03:00
parent db023e12e9
commit 87e696eecb

View File

@ -43,7 +43,7 @@ func PrepareMessage(
rumor := nostr.Event{
Kind: 14,
Content: content,
Tags: tags,
Tags: append(tags, nostr.Tag{"p", recipientPubKey}),
CreatedAt: nostr.Now(),
PubKey: ourPubkey,
}