commit 0ddbe7e53b8331d2de42ad29ceca35b715f1c121
parent 9fb84bcb3aa4c6a8061e4b892dc5bd1826b44715
Author: default <nobody@localhost>
Date: Sun, 24 Nov 2024 08:58:02 +0100
Pending follow notifications are shown as "Follow Request".
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/html.c b/html.c
@@ -2711,6 +2711,9 @@ xs_str *html_notifications(snac *user, int skip, int show)
label = wrk;
}
}
+ else
+ if (strcmp(type, "Follow") == 0 && pending_check(user, actor_id))
+ label = L("Follow Request");
xs *s_date = xs_crop_i(xs_dup(date), 0, 10);