From 87e696eecbf4da4738ffbc78b587e4046ca63d65 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 15 Sep 2024 12:57:36 -0300 Subject: [PATCH] nip17: include recipient "p" tag. --- nip17/nip17.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip17/nip17.go b/nip17/nip17.go index 99fe099..d7f55ae 100644 --- a/nip17/nip17.go +++ b/nip17/nip17.go @@ -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, }