mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
adds a tags.
This commit is contained in:
parent
3834c6b604
commit
4bcf91944a
7
25.md
7
25.md
|
@ -25,12 +25,15 @@ consider it a "+".
|
||||||
Tags
|
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
|
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 `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 `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
|
The reaction event MAY include a `k` tag with the stringified kind number
|
||||||
|
|
Loading…
Reference in New Issue
Block a user