File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Kind `14` is a chat message. `p` tags identify one or more receivers of the mess
21
21
" tags" : [
22
22
[" p" , " <receiver-1-pubkey>" , " <relay-url>" ],
23
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
25
[" subject" , " <conversation-title>" ],
26
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
32
` .content ` MUST be plain text. Fields ` id ` and ` created_at ` are required.
33
33
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
+ ```
35
41
36
42
Kind ` 14 ` s MUST never be signed. If it is signed, the message might leak to relays and become ** fully public** .
37
43
You can’t perform that action at this time.
0 commit comments