mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-14 15:59:07 -05:00
Move generic reposts back to bottom for a simpler diff
This commit is contained in:
parent
2053aee0c2
commit
7df7deebf5
18
18.md
18
18.md
|
@ -18,15 +18,6 @@ to indicate where it can be fetched.
|
||||||
The repost SHOULD include a `p` tag with the `pubkey` of the event being
|
The repost SHOULD include a `p` tag with the `pubkey` of the event being
|
||||||
reposted.
|
reposted.
|
||||||
|
|
||||||
## 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.
|
|
||||||
|
|
||||||
## Quote Reposts
|
## Quote Reposts
|
||||||
|
|
||||||
Quote reposts are `kind 1` events with an embedded `q` tag of the note being
|
Quote reposts are `kind 1` events with an embedded `q` tag of the note being
|
||||||
|
@ -41,3 +32,12 @@ of the `mark` argument.
|
||||||
|
|
||||||
Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the
|
Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the
|
||||||
event in the content.
|
event in the content.
|
||||||
|
|
||||||
|
## 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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user