From 83785856887449a8b799fc8878bbd07ee2b2ebb1 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 5 Feb 2025 12:51:18 -0300 Subject: [PATCH] Removes the need for markers on NIP-17 and adds the use of `q` tags. --- 17.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/17.md b/17.md index f091a969..2b95f810 100644 --- a/17.md +++ b/17.md @@ -21,7 +21,7 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess   "tags": [     ["p", "", ""],     ["p", "", ""], -    ["e", "", "", "reply"] // if this is a reply +    ["e", "", ""] // if this is a reply ["subject", ""],     // rest of tags...   ], @@ -31,7 +31,13 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess `.content` MUST be plain text. Fields `id` and `created_at` are required. -Tags that mention, quote and assemble threading structures MUST follow [NIP-10](10.md). +An `e` tag denotes the direct parent message this post is replying to. + +`q` tags MAY be used when citing events in the `.content` with [NIP-21](21.md). + +```json +["q", " or ", "", ""] +``` Kind `14`s MUST never be signed. If it is signed, the message might leak to relays and become **fully public**.