upleb.uk

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

summaryrefslogtreecommitdiff
path: root/25.md
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2024-05-04 16:35:39 -0400
committerVitor Pamplona <vitor@vitorpamplona.com>2024-05-04 16:35:39 -0400
commit4bcf91944a9e53680cc928424e7af145242b1a39 (patch)
tree21ff1d34cd769c49217997f86f8358b929c6212b /25.md
parent3834c6b60474a677b53847743212df27710e64ec (diff)
adds a tags.
Diffstat (limited to '25.md')
-rw-r--r--25.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/25.md b/25.md
index bdee066..7cc96b5 100644
--- a/25.md
+++ b/25.md
@@ -25,12 +25,15 @@ consider it a "+".
25Tags 25Tags
26---- 26----
27 27
28The reaction event SHOULD include `e` and `p` tags pointing to the note the user is 28The reaction event SHOULD include `a`, `e` and `p` tags pointing to the note the user is
29reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients 29reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients
30to pull all the reactions to individual posts. 30to pull all the reactions to individual events and `a` tags enables clients to seek reactions
31for all versions of a replaceable event.
31 32
32The `e` tag MUST be the `id` of the note that is being reacted to. 33The `e` tag MUST be the `id` of the note that is being reacted to.
33 34
35The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to.
36
34The `p` tag MUST be the `pubkey` of the event being reacted to. 37The `p` tag MUST be the `pubkey` of the event being reacted to.
35 38
36The reaction event MAY include a `k` tag with the stringified kind number 39The reaction event MAY include a `k` tag with the stringified kind number