summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar green2025-03-24 12:47:15 +0100
committerGravatar green2025-04-13 14:41:07 +0200
commit4408859f8dcb8f83670d75f1128e1120ea318ec9 (patch)
tree4ab29ea94660b860ec1864691de3cdc4087e4ba4 /html.c
parentEmojiReact notifications show up as emojis (diff)
downloadsnac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.tar.gz
snac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.tar.xz
snac2-4408859f8dcb8f83670d75f1128e1120ea318ec9.zip
also display the emoji for likes
Diffstat (limited to 'html.c')
-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)
3362 if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0) 3362 if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0)
3363 label = L("Unfollow"); 3363 label = L("Unfollow");
3364 else 3364 else
3365 if (strcmp(type, "EmojiReact") == 0) { 3365 if (strcmp(type, "EmojiReact") == 0 || strcmp(type, "Like") == 0) {
3366 const char *content = xs_dict_get_path(noti, "msg.content"); 3366 const char *content = xs_dict_get_path(noti, "msg.content");
3367 3367
3368 if (xs_type(content) == XSTYPE_STRING) { 3368 if (xs_type(content) == XSTYPE_STRING) {