summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar default2024-11-24 08:58:02 +0100
committerGravatar default2024-11-24 08:58:02 +0100
commit0ddbe7e53b8331d2de42ad29ceca35b715f1c121 (patch)
treeced9702052328ef18a203d1b5fe863c4157f0776
parentThe people page shows 'Approve' and 'Discard' buttons for pending follows. (diff)
downloadsnac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.tar.gz
snac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.tar.xz
snac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.zip
Pending follow notifications are shown as "Follow Request".
-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)
2711 label = wrk; 2711 label = wrk;
2712 } 2712 }
2713 } 2713 }
2714 else
2715 if (strcmp(type, "Follow") == 0 && pending_check(user, actor_id))
2716 label = L("Follow Request");
2714 2717
2715 xs *s_date = xs_crop_i(xs_dup(date), 0, 10); 2718 xs *s_date = xs_crop_i(xs_dup(date), 0, 10);
2716 2719