diff options
| -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 | ---- |