nip17: include recipient "p" tag.
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ func PrepareMessage(
|
|||||||
rumor := nostr.Event{
|
rumor := nostr.Event{
|
||||||
Kind: 14,
|
Kind: 14,
|
||||||
Content: content,
|
Content: content,
|
||||||
Tags: tags,
|
Tags: append(tags, nostr.Tag{"p", recipientPubKey}),
|
||||||
CreatedAt: nostr.Now(),
|
CreatedAt: nostr.Now(),
|
||||||
PubKey: ourPubkey,
|
PubKey: ourPubkey,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user