diff options
| author | hodlbod <jstaab@protonmail.com> | 2025-05-21 17:03:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-22 02:03:32 +0200 |
| commit | a6a2020933c02cc31a9ae51e60610ebfdf3af9c6 (patch) | |
| tree | f162175ee8591a07be88702e4c57a9237dc207b6 | |
| parent | 509613b9fa612f662d9339d66dc0918733321529 (diff) | |
Remove recommendation to map emoji reactions to like/dislike (#1486)
Co-authored-by: Jon Staab <shtaab@gmail.com>
| -rw-r--r-- | 25.md | 19 |
1 files changed, 7 insertions, 12 deletions
| @@ -7,20 +7,15 @@ Reactions | |||
| 7 | 7 | ||
| 8 | `draft` `optional` | 8 | `draft` `optional` |
| 9 | 9 | ||
| 10 | A reaction is a `kind 7` event that is used to react to other events. | 10 | A reaction is a `kind 7` event that is used to indicate user reactions to other events. A |
| 11 | reaction's `content` field MUST include user-generated-content indicating the value of the | ||
| 12 | reaction (conventionally `+`, `-`, or an emoji). | ||
| 11 | 13 | ||
| 12 | The generic reaction, represented by the `content` set to a `+` string, SHOULD | 14 | A reaction with `content` set to `+` or an empty string MUST be interpreted as a "like" or "upvote". |
| 13 | be interpreted as a "like" or "upvote". | 15 | A reaction with `content` set to `-` MUST be interpreted as a "dislike" or "downvote". |
| 14 | 16 | ||
| 15 | A reaction with `content` set to `-` SHOULD be interpreted as a "dislike" or | 17 | A reaction with `content` set to an emoji or [NIP-30](30.md) custom emoji SHOULD NOT be interpreted |
| 16 | "downvote". It SHOULD NOT be counted as a "like", and MAY be displayed as a | 18 | as a "like" or "dislike". Clients MAY instead display this emoji reaction on the post. |
| 17 | downvote or dislike on a post. A client MAY also choose to tally likes against | ||
| 18 | dislikes in a reddit-like system of upvotes and downvotes, or display them as | ||
| 19 | separate tallies. | ||
| 20 | |||
| 21 | The `content` MAY be an emoji, or [NIP-30](30.md) custom emoji in this case it MAY be interpreted as a "like" or "dislike", | ||
| 22 | or the client MAY display this emoji reaction on the post. If the `content` is an empty string then the client should | ||
| 23 | consider it a "+". | ||
| 24 | 19 | ||
| 25 | Tags | 20 | Tags |
| 26 | ---- | 21 | ---- |