aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-11-24 08:58:02 +0100
committerdefault <nobody@localhost>2024-11-24 08:58:02 +0100
commit0ddbe7e53b8331d2de42ad29ceca35b715f1c121 (patch)
treeced9702052328ef18a203d1b5fe863c4157f0776 /html.c
parent9fb84bcb3aa4c6a8061e4b892dc5bd1826b44715 (diff)
Pending follow notifications are shown as "Follow Request".
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index 2d556e8..990fb94 100644
--- 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);