commit 4408859

green  ·  2025-03-24 11:47:15 +0000 UTC
parent 544a20f
also display the emoji for likes
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -3362,7 +3362,7 @@ xs_str *html_notifications(snac *user, int skip, int show)
2         if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0)
3             label = L("Unfollow");
4         else
5-        if (strcmp(type, "EmojiReact") == 0) {
6+        if (strcmp(type, "EmojiReact") == 0 || strcmp(type, "Like") == 0) {
7             const char *content = xs_dict_get_path(noti, "msg.content");
8 
9             if (xs_type(content) == XSTYPE_STRING) {