From 9c867d8e2a5c1133d139140da5d61cbfe10711e8 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 5 Feb 2025 12:38:51 -0300 Subject: [PATCH] Normalize NIP-10 `q` tags with the one on NIP-22 --- 18.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/18.md b/18.md index 5d55f84c..f0abcac7 100644 --- a/18.md +++ b/18.md @@ -21,18 +21,12 @@ reposted. ## Quote Reposts -Quote reposts are `kind 1` events with an embedded `q` tag of the note being -quote reposted. The `q` tag ensures quote reposts are not pulled and included -as replies in threads. It also allows you to easily pull and count all of the -quotes for a post. +Mentions to [NIP-21](21.md) entities like `nevent`, `note` and `naddr` on any +event must be converted into `q` tags. The `q` tag ensures quote reposts are +not pulled and included as replies in threads. It also allows you to easily +pull and count all of the quotes for a post. The syntax follows -`q` tags should follow the same conventions as NIP 10 `e` tags, with the exception -of the `mark` argument. - -`["q", , , ]` - -Quote reposts MUST include the [NIP-21](21.md) `nevent`, `note`, or `naddr` of the -event in the content. +`["q", " or ", "", ""]` ## Generic Reposts