adds a tags.

This commit is contained in:
Vitor Pamplona 2024-05-04 16:35:39 -04:00
parent 3834c6b604
commit 4bcf91944a

7
25.md
View File

@ -25,12 +25,15 @@ consider it a "+".
Tags
----
The reaction event SHOULD include `e` and `p` tags pointing to the note the user is
The reaction event SHOULD include `a`, `e` and `p` tags pointing to the note the user is
reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients
to pull all the reactions to individual posts.
to pull all the reactions to individual events and `a` tags enables clients to seek reactions
for all versions of a replaceable event.
The `e` tag MUST be the `id` of the note that is being reacted to.
The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to.
The `p` tag MUST be the `pubkey` of the event being reacted to.
The reaction event MAY include a `k` tag with the stringified kind number