From 4e35b4b865512b0616f1b9dd437ad12cf2953848 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 5 Feb 2024 19:34:27 +0100 Subject: Added paging to notify_list(), and use it in the notifications page. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index f1af7ba..267f842 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -1542,7 +1542,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, else if (strcmp(cmd, "/v1/notifications") == 0) { /** **/ if (logged_in) { - xs *l = notify_list(&snac1); + xs *l = notify_list(&snac1, 0, 64); xs *out = xs_list_new(); xs_list *p = l; xs_dict *v; -- cgit v1.2.3