upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <pfer@me.com>2025-01-13 14:35:56 +0000
committerGitHub <noreply@github.com>2025-01-13 14:35:56 +0000
commit0f376a7aa455521f3d2f4ec6a8dd1b764ec8d7bb (patch)
treec03ba7b078eea415167907447b2dfec52a2274eb
parent76fd221ff1da383546f624615a38b6f961033b37 (diff)
parentd96f6f852a080fd84251af6b6d6fb82313b199a8 (diff)
Merge pull request #1679 from nostr-protocol/reposted-70s
Don't stringify magic-wanded protected events in reposts
-rw-r--r--18.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/18.md b/18.md
index 41c9442..5d55f84 100644
--- a/18.md
+++ b/18.md
@@ -10,6 +10,7 @@ A repost is a `kind 6` event that is used to signal to followers
10that a `kind 1` text note is worth reading. 10that a `kind 1` text note is worth reading.
11 11
12The `content` of a repost event is _the stringified JSON of the reposted note_. It MAY also be empty, but that is not recommended. 12The `content` of a repost event is _the stringified JSON of the reposted note_. It MAY also be empty, but that is not recommended.
13Reposts of [NIP-70](70.md)-protected events SHOULD always have an empty `content`.
13 14
14The repost event MUST include an `e` tag with the `id` of the note that is 15The repost event MUST include an `e` tag with the `id` of the note that is
15being reposted. That tag MUST include a relay URL as its third entry 16being reposted. That tag MUST include a relay URL as its third entry
@@ -41,3 +42,4 @@ as a "generic repost", that can include any kind of event inside other than
41 42
42`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number 43`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number
43of the reposted event as its value. 44of the reposted event as its value.
45