Updated LICENSE.

This commit is contained in:
default 2022-10-20 14:26:34 +02:00
parent 30274e227f
commit 06c838b523
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
MIT License 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: 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
html.c
View file

@ -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 likes = xs_list_len(xs_dict_get(meta, "liked_by"));
int boosts = xs_list_len(xs_dict_get(meta, "announced_by")); int boosts = xs_list_len(xs_dict_get(meta, "announced_by"));
/* alternate emojis: %d 👍 %d 🔁 */
xs *s1 = xs_fmt( xs *s1 = xs_fmt(
"<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n", "<div class=\"snac-score\">%d &#9733; %d &#8634;</div>\n",
likes, boosts); likes, boosts);