Added icon for bots

This commit is contained in:
Haijo7 2023-06-02 18:12:07 +02:00
parent 13ab8c73e5
commit 21bb4f3325
No known key found for this signature in database
GPG key ID: D37F0978A68204FA

3
html.c
View file

@ -117,6 +117,9 @@ xs_str *html_actor_icon(xs_str *os, char *actor,
if (priv)
s = xs_str_cat(s, " <span title=\"private\">&#128274;</span>");
if (strcmp(xs_dict_get(actor, "type"), "Service") == 0)
s = xs_str_cat(s, " <span title=\"bot\">&#129302;</span>");
if (xs_is_null(date)) {
s = xs_str_cat(s, "<br>\n&nbsp;\n");
}