mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-15 01:55:03 +00:00
Added icon for bots
This commit is contained in:
parent
13ab8c73e5
commit
21bb4f3325
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