Skip to content

Commit a3cd55f

Browse files
NIP-17: Removes the need for markers and adds the use of q tags. (#1748)
1 parent 1e8b1bb commit a3cd55f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

17.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess
2121
  "tags": [
2222
    ["p", "<receiver-1-pubkey>", "<relay-url>"],
2323
    ["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
2525
["subject", "<conversation-title>"],
2626
    // rest of tags...
2727
  ],
@@ -31,7 +31,13 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess
3131

3232
`.content` MUST be plain text. Fields `id` and `created_at` are required.
3333

34-
Tags that mention, quote and assemble threading structures MUST follow [NIP-10](10.md).
34+
An `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+
```
3541

3642
Kind `14`s MUST never be signed. If it is signed, the message might leak to relays and become **fully public**.
3743

0 commit comments

Comments
 (0)