Skip to content

Commit

Permalink
kind:16 generic reposts.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Jun 18, 2023
1 parent 36e9fd5 commit 7668507
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions 18.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.

0 comments on commit 7668507

Please sign in to comment.