aboutsummaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-01-27 16:59:08 +0100
committerdefault <nobody@localhost>2025-01-27 16:59:08 +0100
commit82bcc4b465f73a5d1f2eebcf3813452bc1c37fbd (patch)
tree004884de626c698c92debbe7727c3788ff880ad2 /mastoapi.c
parent6097ba55cf96444aac7fb9b74295722e8e5c3810 (diff)
Minor optimization in timeline retrieving.
Functions now receive an optional int *more, set to 1 if there are more than the 'show' requested.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 54b4333..3c445c2 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1676,7 +1676,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
else
if (strcmp(opt, "statuses") == 0) { /** **/
/* the public list of posts of a user */
- xs *timeline = timeline_simple_list(&snac2, "public", 0, 256);
+ xs *timeline = timeline_simple_list(&snac2, "public", 0, 256, NULL);
xs_list *p = timeline;
const xs_str *v;