summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-05 10:18:38 +0100
committerdefault <nobody@localhost>2024-02-05 10:18:38 +0100
commit729ad476f081e0ea63f90263ce5959b9889356f9 (patch)
tree8e9e7e4949b587493aecebc4538d2d6a8979d1d8 /html.c
parent823cb05fe53e364c4421512a9f1263ed54662de0 (diff)
notify_list() no longer has a new_only argument.
Diffstat (limited to 'html.c')
-rw-r--r--html.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/html.c b/html.c
index f0cda81..85ec786 100644
--- a/html.c
+++ b/html.c
@@ -673,8 +673,7 @@ static xs_html *html_user_body(snac *user, int local)
xs_html_text(L("private"))));
}
else {
- xs *n_list = notify_list(user, 1);
- int n_len = xs_list_len(n_list);
+ int n_len = notify_new_num(user);
xs_html *notify_count = NULL;
/* show the number of new notifications, if there are any */
@@ -2138,7 +2137,7 @@ xs_str *html_people(snac *user)
xs_str *html_notifications(snac *user)
{
- xs *n_list = notify_list(user, 0);
+ xs *n_list = notify_list(user);
xs *n_time = notify_check_time(user, 0);
xs_html *body = html_user_body(user, 0);