瀏覽代碼

also display the emoji for likes

green 1 年之前
父節點
當前提交
4408859f8d
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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)
         if (strcmp(type, "Undo") == 0 && strcmp(utype, "Follow") == 0)
             label = L("Unfollow");
             label = L("Unfollow");
         else
         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");
             const char *content = xs_dict_get_path(noti, "msg.content");
 
 
             if (xs_type(content) == XSTYPE_STRING) {
             if (xs_type(content) == XSTYPE_STRING) {