commit 21bb4f3
Haijo7
·
2023-06-02 16:12:07 +0000 UTC
parent 13ab8c7
Added icon for bots
1 files changed,
+3,
-0
M
html.c
M
html.c
+3,
-0
1@@ -117,6 +117,9 @@ xs_str *html_actor_icon(xs_str *os, char *actor,
2 if (priv)
3 s = xs_str_cat(s, " <span title=\"private\">🔒</span>");
4
5+ if (strcmp(xs_dict_get(actor, "type"), "Service") == 0)
6+ s = xs_str_cat(s, " <span title=\"bot\">🤖</span>");
7+
8 if (xs_is_null(date)) {
9 s = xs_str_cat(s, "<br>\n \n");
10 }