aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreen <dandelions@disroot.org>2025-03-24 12:47:15 +0100
committergreen <dandelions@disroot.org>2025-04-13 14:41:07 +0200
commit4408859f8dcb8f83670d75f1128e1120ea318ec9 (patch)
tree4ab29ea94660b860ec1864691de3cdc4087e4ba4
parent544a20fb2ae81fcdf1103f37d6c57428a8d401c4 (diff)
also display the emoji for likes
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 3c5903d..103ce3d 100644
--- a/html.c
+++ b/html.c
@@ -3362,7 +3362,7 @@ xs_str *html_notifications(snac *user, int skip, int show)
if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0)
label = L("Unfollow");
else
- if (strcmp(type, "EmojiReact") == 0) {
+ if (strcmp(type, "EmojiReact") == 0 || strcmp(type, "Like") == 0) {
const char *content = xs_dict_get_path(noti, "msg.content");
if (xs_type(content) == XSTYPE_STRING) {