upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/18.md
diff options
context:
space:
mode:
authorJon Staab <shtaab@gmail.com>2024-10-03 09:39:03 -0700
committerJon Staab <shtaab@gmail.com>2024-10-03 09:39:03 -0700
commit7df7deebf579fcf0c095fd6e974a4d54970cbec6 (patch)
treec98aef0ed2904a248e04f4c162b2fe7e3b4df4fe /18.md
parent2053aee0c27e43c395706dee2706f2417c0ad268 (diff)
Move generic reposts back to bottom for a simpler diff
Diffstat (limited to '18.md')
-rw-r--r--18.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/18.md b/18.md
index f1e3f8c..4bf39ef 100644
--- a/18.md
+++ b/18.md
@@ -18,15 +18,6 @@ to indicate where it can be fetched.
18The repost SHOULD include a `p` tag with the `pubkey` of the event being 18The repost SHOULD include a `p` tag with the `pubkey` of the event being
19reposted. 19reposted.
20 20
21## Generic Reposts
22
23Since `kind 6` reposts are reserved for `kind 1` contents, we use `kind 16`
24as a "generic repost", that can include any kind of event inside other than
25`kind 1`.
26
27`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number
28of the reposted event as its value.
29
30## Quote Reposts 21## Quote Reposts
31 22
32Quote reposts are `kind 1` events with an embedded `q` tag of the note being 23Quote reposts are `kind 1` events with an embedded `q` tag of the note being
@@ -41,3 +32,12 @@ of the `mark` argument.
41 32
42Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the 33Quote reposts MUST include the [NIP-19](19.md) `nevent`, `note`, or `naddr` of the
43event in the content. 34event in the content.
35
36## Generic Reposts
37
38Since `kind 6` reposts are reserved for `kind 1` contents, we use `kind 16`
39as a "generic repost", that can include any kind of event inside other than
40`kind 1`.
41
42`kind 16` reposts SHOULD contain a `k` tag with the stringified kind number
43of the reposted event as its value.