From 7668507cdf5580037c3363a2acaf6a2e1f8e032f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 16 Jun 2023 18:16:42 -0300 Subject: [PATCH] kind:16 generic reposts. --- 18.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/18.md b/18.md index cdea9cd4..965263f7 100644 --- a/18.md +++ b/18.md @@ -6,8 +6,8 @@ Reposts `draft` `optional` `author:jb55` `author:fiatjaf` `author:arthurfranca` -A repost is a `kind 6` note that is used to signal to followers -that another event is worth reading. +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 the stringified JSON of the reposted note for quick look up. It MAY also be empty, but that is not recommended. @@ -21,5 +21,15 @@ reposted. ## Quote Reposts -Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)). -Because a quote repost includes an `e` tag, it may show up along replies to the reposted note. +Quote reposts are `kind 1` events with an embedded `e` tag +(see [NIP-08](08.md) and [NIP-27](27.md)). Because a quote repost includes +an `e` tag, it may show up along replies to the reposted note. + +## Generic Reposts + +Since `kind 6` reposts are reserved for `kind 1` contents, we use `kind 16` +as a "generic repost", that can include any kind of event inside other than +`kind 1`. + +`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number +of the reposted event as its value.