nip18: do not set content of repost event

This commit is contained in:
Yasuhiro Matsumoto 2024-08-06 23:41:39 +09:00
parent 5f651db43f
commit b05f7d3355
No known key found for this signature in database
GPG Key ID: 622DE34DC490584B

2
18.md
View File

@ -9,7 +9,7 @@ Reposts
A repost is a `kind 6` event that is used to signal to followers
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.
For security reasons, The `content` of a repost event MUST not be set _the stringified JSON of the reposted note_. It SHOULD also be empty.
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