浏览代码

Updated LICENSE.

default 2 年之前
父节点
当前提交
06c838b523
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 1 1
      LICENSE
  2. 2 0
      html.c

+ 1 - 1
LICENSE

@@ -1,6 +1,6 @@
 MIT License
 
-Copyright (c) 2022 grunfink
+Copyright (c) 2022 grunfink (Fediverse: @grunfink@comam.es)
 
 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
 

+ 2 - 0
html.c

@@ -479,6 +479,8 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i
         int likes  = xs_list_len(xs_dict_get(meta, "liked_by"));
         int boosts = xs_list_len(xs_dict_get(meta, "announced_by"));
 
+        /* alternate emojis: %d 👍 %d 🔁 */
+
         xs *s1 = xs_fmt(
             "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n",
             likes, boosts);