upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Fernandez <p@f7z.io>2023-12-05 10:17:33 +0000
committerfiatjaf <fiatjaf@gmail.com>2024-02-23 20:52:15 -0300
commit6698d91382a72922dfee3bc7c20163ab8f70d0eb (patch)
tree498348a94f6f916ed278c70b28811d71b41cd83f
parent5e0c0b5fee21f272d983fe68d5ec3109369d4a72 (diff)
add nip-10 note
-rw-r--r--29.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/29.md b/29.md
index 9d0dbb5..d342ce7 100644
--- a/29.md
+++ b/29.md
@@ -61,12 +61,17 @@ This is the basic unit of a "microblog" reply note sent to a group.
61 "content": "pizza is disgusting and you should be ashamed", 61 "content": "pizza is disgusting and you should be ashamed",
62 "tags": [ 62 "tags": [
63 ["h", "<group-id>"], 63 ["h", "<group-id>"],
64 [ "e", "<reply-event-id>"], 64 ["e", "<reply-event-id>", "", "root"],
65 ["previous", "<event-id>", "<event-id>", ...] 65 ["previous", "<event-id>", "<event-id>", ...]
66 ] 66 ]
67 ... 67 ...
68``` 68```
69 69
70Replies SHOULD use NIP-10 markers, leaving an empty relay url:
71
72* `["e", "<kind-11-root-id>", "", "root"]`
73* `["e", "<kind-12-event-id>", "", "reply"]`
74
70- *chat message* (`kind:9`) 75- *chat message* (`kind:9`)
71 76
72Similar to `kind:11`, this is the basic unit of a chat message sent to a group. 77Similar to `kind:11`, this is the basic unit of a chat message sent to a group.