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