diff options
| author | 2025-11-15 05:28:23 +0100 | |
|---|---|---|
| committer | 2025-11-15 05:28:23 +0100 | |
| commit | bde074762685a0efe75067c783a078a22949a405 (patch) | |
| tree | c08a4a8917a1f625d4cb06a0861785efc7ddcd20 | |
| parent | Unmark a failed instance after a successful boost. (diff) | |
| download | snac2-bde074762685a0efe75067c783a078a22949a405.tar.gz snac2-bde074762685a0efe75067c783a078a22949a405.tar.xz snac2-bde074762685a0efe75067c783a078a22949a405.zip | |
Request unfound actors from the notifications page.
| -rw-r--r-- | html.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -3578,9 +3578,13 @@ xs_str *html_notifications(snac *user, int skip, int show) | |||
| 3578 | 3578 | ||
| 3579 | if (valid_status(actor_get(actor_id, &actor))) | 3579 | if (valid_status(actor_get(actor_id, &actor))) |
| 3580 | a_name = actor_name(actor, proxy); | 3580 | a_name = actor_name(actor, proxy); |
| 3581 | else | 3581 | else { |
| 3582 | a_name = xs_dup(actor_id); | 3582 | a_name = xs_dup(actor_id); |
| 3583 | 3583 | ||
| 3584 | /* actor not here: request it */ | ||
| 3585 | enqueue_actor_refresh(user, actor_id, 0); | ||
| 3586 | } | ||
| 3587 | |||
| 3584 | xs *label_sanitized = sanitize(type); | 3588 | xs *label_sanitized = sanitize(type); |
| 3585 | const char *label = label_sanitized; | 3589 | const char *label = label_sanitized; |
| 3586 | 3590 | ||