aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-11-15 05:28:23 +0100
committergrunfink <grunfink@comam.es>2025-11-15 05:28:23 +0100
commitbde074762685a0efe75067c783a078a22949a405 (patch)
treec08a4a8917a1f625d4cb06a0861785efc7ddcd20 /html.c
parent2a7bb3d52ed393c200c4a6cace26abcb41ebbd11 (diff)
Request unfound actors from the notifications page.
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/html.c b/html.c
index bcafba4..54f8dd1 100644
--- a/html.c
+++ b/html.c
@@ -3578,9 +3578,13 @@ xs_str *html_notifications(snac *user, int skip, int show)
if (valid_status(actor_get(actor_id, &actor)))
a_name = actor_name(actor, proxy);
- else
+ else {
a_name = xs_dup(actor_id);
+ /* actor not here: request it */
+ enqueue_actor_refresh(user, actor_id, 0);
+ }
+
xs *label_sanitized = sanitize(type);
const char *label = label_sanitized;