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 <jstaab@protonmail.com>2023-05-12 05:10:45 -0700
committerGitHub <noreply@github.com>2023-05-12 05:10:45 -0700
commite5302f84c74cf42d878a3ed18257a16bc0d3b748 (patch)
treeb1a3ad9c0317bf7c38f34c500559b66ff7c0a22d /18.md
parent1c728516dfdc7508ce27eda222bde78466e3457d (diff)
parent4208652dc7a39c63c39559b13c656ec30400fcba (diff)
Merge branch 'master' into patch-1
Diffstat (limited to '18.md')
-rw-r--r--18.md12
1 files changed, 9 insertions, 3 deletions
diff --git a/18.md b/18.md
index 365de9c..422ad9c 100644
--- a/18.md
+++ b/18.md
@@ -4,16 +4,22 @@ NIP-18
4Reposts 4Reposts
5------- 5-------
6 6
7`draft` `optional` `author:jb55` 7`draft` `optional` `author:jb55` `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
13the stringified JSON of the reposted note event for quick look up.
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 MUST include a relay URL as its third entry
16to indicate where it can be fetched. 17to indicate where it can be fetched.
17 18
18The repost SHOULD include a `p` tag with the `pubkey` of the event being 19The repost SHOULD include a `p` tag with the `pubkey` of the event being
19reposted. 20reposted.
21
22## Quote Reposts
23
24Quote reposts are `kind 1` events with an embedded `e` tag (see [NIP-08](08.md) and [NIP-27](27.md)).
25Because a quote repost includes an `e` tag, it may show up along replies to the reposted note.