You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 25.md
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -25,24 +25,23 @@ consider it a "+".
25
25
Tags
26
26
----
27
27
28
-
The reaction event SHOULD include `a`, `e` and `p` tags pointing to the note the user is
29
-
reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients
30
-
to pull all the reactions to individual events and `a` tags enables clients to seek reactions
31
-
for all versions of a replaceable event.
28
+
The reaction event SHOULD include `e` and `p` tags from the note the user is reacting to (and optionally `a` tags if the target is a replaceable event). This allows users to be notified of reactions to posts they were mentioned in. Including the `e` tags enables clients to pull all the reactions associated with individual posts or all the posts in a thread. `a` tags enables clients to seek reactions for all versions of a replaceable event.
32
29
33
-
The `e` tag MUST be the `id` of the note that is being reacted to.
30
+
The last `e` tag MUST be the `id` of the note that is being reacted to.
34
31
35
-
The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to.
32
+
The last `p` tag MUST be the `pubkey` of the event being reacted to.
36
33
37
-
The `p` tag MUST be the `pubkey` of the event being reacted to.
34
+
The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to.
38
35
39
-
The reaction event MAY include a `k` tag with the stringified kind number
40
-
of the reacted event as its value.
36
+
The reaction event MAY include a `k` tag with the stringified kind number of the reacted event as its value.
0 commit comments