diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2024-05-04 16:35:39 -0400 |
|---|---|---|
| committer | Vitor Pamplona <vitor@vitorpamplona.com> | 2024-05-04 16:35:39 -0400 |
| commit | 4bcf91944a9e53680cc928424e7af145242b1a39 (patch) | |
| tree | 21ff1d34cd769c49217997f86f8358b929c6212b /25.md | |
| parent | 3834c6b60474a677b53847743212df27710e64ec (diff) | |
adds a tags.
Diffstat (limited to '25.md')
| -rw-r--r-- | 25.md | 7 |
1 files changed, 5 insertions, 2 deletions
| @@ -25,12 +25,15 @@ consider it a "+". | |||
| 25 | Tags | 25 | Tags |
| 26 | ---- | 26 | ---- |
| 27 | 27 | ||
| 28 | The reaction event SHOULD include `e` and `p` tags pointing to the note the user is | 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 | 29 | reacting to. The `p` tag allows authors to be notified. The `e` tags enables clients |
| 30 | to pull all the reactions to individual posts. | 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. | ||
| 31 | 32 | ||
| 32 | The `e` tag MUST be the `id` of the note that is being reacted to. | 33 | The `e` tag MUST be the `id` of the note that is being reacted to. |
| 33 | 34 | ||
| 35 | The `a` tag MUST contain the coordinates (`kind:pubkey:d-tag`) of the replaceable being reacted to. | ||
| 36 | |||
| 34 | The `p` tag MUST be the `pubkey` of the event being reacted to. | 37 | The `p` tag MUST be the `pubkey` of the event being reacted to. |
| 35 | 38 | ||
| 36 | The reaction event MAY include a `k` tag with the stringified kind number | 39 | The reaction event MAY include a `k` tag with the stringified kind number |