summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2022-10-20 14:26:34 +0200
committerGravatar default2022-10-20 14:26:34 +0200
commit06c838b523d2531aaef66b7b9d075be1189996a4 (patch)
treebf635a46614ddecd1d0a1a4e966b896860b57b69
parentUpdated TODO. (diff)
downloadpenes-snac2-06c838b523d2531aaef66b7b9d075be1189996a4.tar.gz
penes-snac2-06c838b523d2531aaef66b7b9d075be1189996a4.tar.xz
penes-snac2-06c838b523d2531aaef66b7b9d075be1189996a4.zip
Updated LICENSE.
-rw-r--r--LICENSE2
-rw-r--r--html.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
index 67296d8..c4c1fa9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
1MIT License 1MIT License
2 2
3Copyright (c) 2022 grunfink 3Copyright (c) 2022 grunfink (Fediverse: @grunfink@comam.es)
4 4
5Permission 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: 5Permission 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:
6 6
diff --git a/html.c b/html.c
index 277a7ff..1256cea 100644
--- a/html.c
+++ b/html.c
@@ -479,6 +479,8 @@ d_char *html_entry(snac *snac, d_char *os, char *msg, xs_set *seen, int local, i
479 int likes = xs_list_len(xs_dict_get(meta, "liked_by")); 479 int likes = xs_list_len(xs_dict_get(meta, "liked_by"));
480 int boosts = xs_list_len(xs_dict_get(meta, "announced_by")); 480 int boosts = xs_list_len(xs_dict_get(meta, "announced_by"));
481 481
482 /* alternate emojis: %d 👍 %d 🔁 */
483
482 xs *s1 = xs_fmt( 484 xs *s1 = xs_fmt(
483 "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n", 485 "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n",
484 likes, boosts); 486 likes, boosts);