diff options
| author | 2025-09-28 15:46:26 +0200 | |
|---|---|---|
| committer | 2025-09-28 15:46:26 +0200 | |
| commit | 65d868092cd8bddad703f9dad77867bb45ca3286 (patch) | |
| tree | 9aca8e52c81105af728035828f659f1db70040f3 /html.c | |
| parent | Show icons for instance and actor failures. (diff) | |
| download | snac2-65d868092cd8bddad703f9dad77867bb45ca3286.tar.gz snac2-65d868092cd8bddad703f9dad77867bb45ca3286.tar.xz snac2-65d868092cd8bddad703f9dad77867bb45ca3286.zip | |
Temporary tweak.
Diffstat (limited to '')
| -rw-r--r-- | html.c | 16 |
1 files changed, 0 insertions, 16 deletions
| @@ -249,22 +249,6 @@ 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 | |||
| 268 | if (priv) { | 252 | if (priv) { |
| 269 | xs_html_add(actor_icon, | 253 | xs_html_add(actor_icon, |
| 270 | xs_html_text(" "), | 254 | xs_html_text(" "), |