From 21bb4f33257ca526ac379e8e85c6d8a93282ab48 Mon Sep 17 00:00:00 2001
From: Haijo7
Date: Fri, 2 Jun 2023 18:12:07 +0200
Subject: Added icon for bots
---
html.c | 3 +++
1 file changed, 3 insertions(+)
(limited to 'html.c')
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, " 🔒");
+ if (strcmp(xs_dict_get(actor, "type"), "Service") == 0)
+ s = xs_str_cat(s, " 🤖");
+
if (xs_is_null(date)) {
s = xs_str_cat(s, "
\n \n");
}
--
cgit v1.2.3