dont add p tag for sharing events

This commit is contained in:
hzrd149 2023-06-04 21:58:45 -04:00
parent 7e92cbad4e
commit 0189507d62
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"nostrudel": patch
---
Dont add p tag for sharing events

View File

@ -117,7 +117,6 @@ export function buildRepost(event: NostrEvent): DraftNostrEvent {
const tags: NostrEvent["tags"] = [];
tags.push(["e", event.id, relay]);
tags.push(["p", event.pubkey]);
return {
kind: 6, //Kind.Repost
@ -132,7 +131,6 @@ export function buildQuoteRepost(event: NostrEvent): DraftNostrEvent {
const tags: NostrEvent["tags"] = [];
tags.push(["e", event.id, relay, "mention"]);
tags.push(["p", event.pubkey]);
return {
kind: Kind.Text,