diff options
author | default <nobody@localhost> | 2024-02-05 19:34:27 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-02-05 19:34:27 +0100 |
commit | 4e35b4b865512b0616f1b9dd437ad12cf2953848 (patch) | |
tree | 194e305427675c9ac06cab23c45f7553d83a1673 /mastoapi.c | |
parent | 67fbc6816b7bf22ecf9c93e1f42700e409b3b21c (diff) |
Added paging to notify_list(), and use it in the notifications page.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |