mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-29 07:53:37 +00:00
Merge pull request 'Added icon for bots' (#40) from Haijo7/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/40
This commit is contained in:
commit
5ac17bdc1b
1 changed files with 3 additions and 0 deletions
3
html.c
3
html.c
|
@ -117,6 +117,9 @@ xs_str *html_actor_icon(xs_str *os, char *actor,
|
|||
if (priv)
|
||||
s = xs_str_cat(s, " <span title=\"private\">🔒</span>");
|
||||
|
||||
if (strcmp(xs_dict_get(actor, "type"), "Service") == 0)
|
||||
s = xs_str_cat(s, " <span title=\"bot\">🤖</span>");
|
||||
|
||||
if (xs_is_null(date)) {
|
||||
s = xs_str_cat(s, "<br>\n \n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue