diff options
Diffstat (limited to '')
| -rw-r--r-- | html.c | 16 |
1 files changed, 16 insertions, 0 deletions
| @@ -249,6 +249,22 @@ xs_html *html_actor_icon(snac *user, xs_dict *actor, const char *date, | |||
| 249 | xs_html_raw("🤝"))); | 249 | xs_html_raw("🤝"))); |
| 250 | } | 250 | } |
| 251 | 251 | ||
| 252 | if (instance_failure(actor_id, 0) == -1) { | ||
| 253 | xs_html_add(actor_icon, | ||
| 254 | xs_html_text(" "), | ||
| 255 | xs_html_tag("span", | ||
| 256 | xs_html_attr("title", "broken instance"), | ||
| 257 | xs_html_raw("💔"))); | ||
| 258 | } | ||
| 259 | |||
| 260 | if (actor_failure(actor_id, 0) == -1) { | ||
| 261 | xs_html_add(actor_icon, | ||
| 262 | xs_html_text(" "), | ||
| 263 | xs_html_tag("span", | ||
| 264 | xs_html_attr("title", "account no longer exists"), | ||
| 265 | xs_html_raw("💀"))); | ||
| 266 | } | ||
| 267 | |||
| 252 | if (priv) { | 268 | if (priv) { |
| 253 | xs_html_add(actor_icon, | 269 | xs_html_add(actor_icon, |
| 254 | xs_html_text(" "), | 270 | xs_html_text(" "), |