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-02-26 20:14:45 -0500
committerGitHub <noreply@github.com>2025-02-26 20:14:45 -0500
commita3cd55fb332fcde424e8895b10e0ce02834efcb7 (patch)
treec0f0f47d0828b4ce0693edfbaafcad3c265a77ce
parent1e8b1bb16b4e449dadda0b3d82b031b182780cbb (diff)
NIP-17: Removes the need for markers and adds the use of `q` tags. (#1748)
-rw-r--r--17.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/17.md b/17.md
index 1bc258d..487d01e 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
21  "tags": [ 21  "tags": [
22    ["p", "<receiver-1-pubkey>", "<relay-url>"], 22    ["p", "<receiver-1-pubkey>", "<relay-url>"],
23    ["p", "<receiver-2-pubkey>", "<relay-url>"], 23    ["p", "<receiver-2-pubkey>", "<relay-url>"],
24    ["e", "<kind-14-id>", "<relay-url>", "reply"] // if this is a reply 24    ["e", "<kind-14-id>", "<relay-url>"] // if this is a reply
25 ["subject", "<conversation-title>"], 25 ["subject", "<conversation-title>"],
26    // rest of tags... 26    // rest of tags...
27  ], 27  ],
@@ -31,7 +31,13 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess
31 31
32`.content` MUST be plain text. Fields `id` and `created_at` are required. 32`.content` MUST be plain text. Fields `id` and `created_at` are required.
33 33
34Tags that mention, quote and assemble threading structures MUST follow [NIP-10](10.md). 34An `e` tag denotes the direct parent message this post is replying to.
35
36`q` tags MAY be used when citing events in the `.content` with [NIP-21](21.md).
37
38```json
39["q", "<event-id> or <event-address>", "<relay-url>", "<pubkey-if-a-regular-event>"]
40```
35 41
36Kind `14`s MUST never be signed. If it is signed, the message might leak to relays and become **fully public**. 42Kind `14`s MUST never be signed. If it is signed, the message might leak to relays and become **fully public**.
37 43