mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-21 21:05:05 +00:00
Updated LICENSE.
This commit is contained in:
parent
30274e227f
commit
06c838b523
2 changed files with 3 additions and 1 deletions
2
LICENSE
2
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
html.c
2
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 ★ %d ↺</div>\n",
|
||||
likes, boosts);
|
||||
|
|
Loading…
Reference in a new issue