mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Added icon for bots
This commit is contained in:
parent
13ab8c73e5
commit
21bb4f3325
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 New Issue
Block a user