diff options
| author | 2024-11-24 08:58:02 +0100 | |
|---|---|---|
| committer | 2024-11-24 08:58:02 +0100 | |
| commit | 0ddbe7e53b8331d2de42ad29ceca35b715f1c121 (patch) | |
| tree | ced9702052328ef18a203d1b5fe863c4157f0776 | |
| parent | The people page shows 'Approve' and 'Discard' buttons for pending follows. (diff) | |
| download | snac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.tar.gz snac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.tar.xz snac2-0ddbe7e53b8331d2de42ad29ceca35b715f1c121.zip | |
Pending follow notifications are shown as "Follow Request".
| -rw-r--r-- | html.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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 | ||