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:
authorarthurfranca <arthur.a.franca@gmail.com>2023-03-29 15:37:54 -0300
committerarthurfranca <arthur.a.franca@gmail.com>2023-03-29 15:37:54 -0300
commit9a362c6df48953fdfefea9178d70f3656d75b1e8 (patch)
tree55c6c98d7c9916eb8a1eda3b5d50bd1d618e2146 /18.md
parent197b6ea206611e751cb73c2e04a12b371674a109 (diff)
Add optional comment to content
Diffstat (limited to '18.md')
-rw-r--r--18.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/18.md b/18.md
index 365de9c..ef77fa6 100644
--- a/18.md
+++ b/18.md
@@ -4,16 +4,18 @@ NIP-18
4Reposts 4Reposts
5------- 5-------
6 6
7`draft` `optional` `author:jb55` 7`draft` `optional` `author:fiatjaf` `author:arthurfranca`
8 8
9A repost is a `kind 6` note that is used to signal to followers 9A repost is a `kind 6` note that is used to signal to followers
10that another event is worth reading. 10that another event is worth reading.
11 11
12The `content` of a repost event is empty. 12The `content` of a repost event is empty. Optionally, it MAY contain
13a comment in the same format of a kind 1 note content.
13 14
14The repost event MUST include an `e` tag with the `id` of the note that is 15The repost event MUST include an `e` tag with the `id` of the note that is
15being reposted. That tag SHOULD include a relay URL as its third entry 16being reposted. That tag SHOULD include a relay URL as its third entry
16to indicate where it can be fetched. 17to indicate where it can be fetched.
18When reposting a long-form content use an `a` tag instead.
17 19
18The repost SHOULD include a `p` tag with the `pubkey` of the event being 20The repost SHOULD include a `p` tag with the `pubkey` of the event being
19reposted. 21reposted.