mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
nip17: include recipient "p" tag.
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
Reference in New Issue
Block a user