upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2025-10-16 07:44:37 -0400
committerGitHub <noreply@github.com>2025-10-16 04:44:37 -0700
commit3f79b7fde21bce53c7a07683a6fbec547095bcb6 (patch)
treef4440d731dfa6c38f506dc3838495f4fbc6907b5
parenta3c5554e34f2b292af705d94f49e68f280c7e451 (diff)
NIP-18: Normalize its `q` tags with the definition on NIP-22 (#1746)
-rw-r--r--18.md16
1 files changed, 5 insertions, 11 deletions
diff --git a/18.md b/18.md
index 4bea80a..7967a59 100644
--- a/18.md
+++ b/18.md
@@ -21,18 +21,12 @@ reposted.
21 21
22## Quote Reposts 22## Quote Reposts
23 23
24Quote reposts are `kind 1` events with an embedded `q` tag of the note being 24Mentions to [NIP-21](21.md) entities like `nevent`, `note` and `naddr` on any
25quote reposted. The `q` tag ensures quote reposts are not pulled and included 25event must be converted into `q` tags. The `q` tag ensures quote reposts are
26as replies in threads. It also allows you to easily pull and count all of the 26not pulled and included as replies in threads. It also allows you to easily
27quotes for a post. 27pull and count all of the quotes for a post. The syntax follows
28 28
29`q` tags should follow the same conventions as NIP 10 `e` tags, with the exception 29`["q", "<event-id> or <event-address>", "<relay-url>", "<pubkey-if-a-regular-event>"]`
30of the `mark` argument.
31
32`["q", <event-id>, <relay-url>, <pubkey>]`
33
34Quote reposts MUST include the [NIP-21](21.md) `nevent`, `note`, or `naddr` of the
35event in the content.
36 30
37## Generic Reposts 31## Generic Reposts
38 32