commit a12db9a
grunfink
·
2025-09-28 13:48:33 +0000 UTC
parent ab698c2
Added back instance and actor failure icons.
1 files changed,
+16,
-0
M
html.c
M
html.c
+16,
-0
1@@ -249,6 +249,22 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date,
2 xs_html_raw("🤝")));
3 }
4
5+ if (instance_failure(actor_id, 0) == -1) {
6+ xs_html_add(actor_icon,
7+ xs_html_text(" "),
8+ xs_html_tag("span",
9+ xs_html_attr("title", "broken instance"),
10+ xs_html_raw("💔")));
11+ }
12+
13+ if (actor_failure(actor_id, 0) == -1) {
14+ xs_html_add(actor_icon,
15+ xs_html_text(" "),
16+ xs_html_tag("span",
17+ xs_html_attr("title", "account no longer exists"),
18+ xs_html_raw("💀")));
19+ }
20+
21 if (scope != -1) {
22 if (scope == SCOPE_FOLLOWERS) {
23 xs_html_add(actor_icon,