mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-09-29 04:52:55 +02:00
Remove recommendation to map emoji reactions to like/dislike (#1486)
Co-authored-by: Jon Staab <shtaab@gmail.com>
This commit is contained in:
19
25.md
19
25.md
@@ -7,20 +7,15 @@ Reactions
|
|||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional`
|
||||||
|
|
||||||
A reaction is a `kind 7` event that is used to react to other events.
|
A reaction is a `kind 7` event that is used to indicate user reactions to other events. A
|
||||||
|
reaction's `content` field MUST include user-generated-content indicating the value of the
|
||||||
|
reaction (conventionally `+`, `-`, or an emoji).
|
||||||
|
|
||||||
The generic reaction, represented by the `content` set to a `+` string, SHOULD
|
A reaction with `content` set to `+` or an empty string MUST be interpreted as a "like" or "upvote".
|
||||||
be interpreted as a "like" or "upvote".
|
A reaction with `content` set to `-` MUST be interpreted as a "dislike" or "downvote".
|
||||||
|
|
||||||
A reaction with `content` set to `-` SHOULD be interpreted as a "dislike" or
|
A reaction with `content` set to an emoji or [NIP-30](30.md) custom emoji SHOULD NOT be interpreted
|
||||||
"downvote". It SHOULD NOT be counted as a "like", and MAY be displayed as a
|
as a "like" or "dislike". Clients MAY instead display this emoji reaction on the post.
|
||||||
downvote or dislike on a post. A client MAY also choose to tally likes against
|
|
||||||
dislikes in a reddit-like system of upvotes and downvotes, or display them as
|
|
||||||
separate tallies.
|
|
||||||
|
|
||||||
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",
|
|
||||||
or the client MAY display this emoji reaction on the post. If the `content` is an empty string then the client should
|
|
||||||
consider it a "+".
|
|
||||||
|
|
||||||
Tags
|
Tags
|
||||||
----
|
----
|
||||||
|
Reference in New Issue
Block a user