summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index d513d10..892475c 100644
--- a/html.c
+++ b/html.c
@@ -3295,12 +3295,12 @@ xs_str *html_people(snac *user)
3295 3295
3296 xs *wing = following_list(user); 3296 xs *wing = following_list(user);
3297 xs *wers = follower_list(user); 3297 xs *wers = follower_list(user);
3298 xs *pending = pending_list(user);
3298 3299
3299 xs_html *lists = xs_html_tag("div", 3300 xs_html *lists = xs_html_tag("div",
3300 xs_html_attr("class", "snac-posts")); 3301 xs_html_attr("class", "snac-posts"));
3301 3302
3302 if (xs_is_true(xs_dict_get(user->config, "approve_followers"))) { 3303 if (xs_list_len(pending) || xs_is_true(xs_dict_get(user->config, "approve_followers"))) {
3303 xs *pending = pending_list(user);
3304 xs_html_add(lists, 3304 xs_html_add(lists,
3305 html_people_list(user, pending, L("Pending follow confirmations"), "p", proxy)); 3305 html_people_list(user, pending, L("Pending follow confirmations"), "p", proxy));
3306 } 3306 }