upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--25.md19
1 files changed, 7 insertions, 12 deletions
diff --git a/25.md b/25.md
index 9ec1551..f569078 100644
--- a/25.md
+++ b/25.md
@@ -7,20 +7,15 @@ Reactions
7 7
8`draft` `optional` 8`draft` `optional`
9 9
10A reaction is a `kind 7` event that is used to react to other events. 10A reaction is a `kind 7` event that is used to indicate user reactions to other events. A
11reaction's `content` field MUST include user-generated-content indicating the value of the
12reaction (conventionally `+`, `-`, or an emoji).
11 13
12The generic reaction, represented by the `content` set to a `+` string, SHOULD 14A reaction with `content` set to `+` or an empty string MUST be interpreted as a "like" or "upvote".
13be interpreted as a "like" or "upvote". 15A reaction with `content` set to `-` MUST be interpreted as a "dislike" or "downvote".
14 16
15A reaction with `content` set to `-` SHOULD be interpreted as a "dislike" or 17A 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 18as a "like" or "dislike". Clients MAY instead display this emoji reaction on the post.
17downvote or dislike on a post. A client MAY also choose to tally likes against
18dislikes in a reddit-like system of upvotes and downvotes, or display them as
19separate tallies.
20
21The `content` MAY be an emoji, or [NIP-30](30.md) custom emoji in this case it MAY be interpreted as a "like" or "dislike",
22or the client MAY display this emoji reaction on the post. If the `content` is an empty string then the client should
23consider it a "+".
24 19
25Tags 20Tags
26---- 21----