specify magic-wanded protected events should not be stringified in a repost

This commit is contained in:
pablof7z 2025-01-10 08:27:14 -06:00
parent 2561566af7
commit 1f8bbbfb50

2
18.md
View File

@ -10,6 +10,7 @@ A repost is a `kind 6` event that is used to signal to followers
that a `kind 1` text note is worth reading. that a `kind 1` text note is worth reading.
The `content` of a repost event is _the stringified JSON of the reposted note_. It MAY also be empty, but that is not recommended. The `content` of a repost event is _the stringified JSON of the reposted note_. It MAY also be empty, but that is not recommended.
[NIP-70](70.md)-protected events SHOULD always have an empty `content`.
The repost event MUST include an `e` tag with the `id` of the note that is The repost event MUST include an `e` tag with the `id` of the note that is
being reposted. That tag MUST include a relay URL as its third entry being 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
`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number `kind 16` reposts SHOULD contain a `k` tag with the stringified kind number
of the reposted event as its value. of the reposted event as its value.