summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaijo7 <haijo7@protonmail.com>2023-06-02 18:12:07 +0200
committerHaijo7 <haijo7@protonmail.com>2023-06-02 18:12:07 +0200
commit21bb4f33257ca526ac379e8e85c6d8a93282ab48 (patch)
tree08b7a920ccadc2e463c0c29b6e886fbeada0ccf6
parent13ab8c73e53622c6bacc52d3004c4a16a6f2f077 (diff)
Added icon for bots
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 78e164d..8bd6530 100644
--- a/html.c
+++ b/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\">&#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");
}