mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
nip17: include recipient "p" tag.
This commit is contained in:
parent
db023e12e9
commit
87e696eecb
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user