Przeglądaj źródła

also display the emoji for likes

green 1 rok temu
rodzic
commit
4408859f8d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      html.c

+ 1 - 1
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) {