mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-09 20:29:17 +02:00
dont add p tag for sharing events
This commit is contained in:
parent
7e92cbad4e
commit
0189507d62
5
.changeset/twenty-bottles-dream.md
Normal file
5
.changeset/twenty-bottles-dream.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"nostrudel": patch
|
||||
---
|
||||
|
||||
Dont add p tag for sharing events
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user