upleb.uk

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

summaryrefslogtreecommitdiff
path: root/17.md
diff options
context:
space:
mode:
Diffstat (limited to '17.md')
-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