summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-23 09:21:18 +0200
committerdefault <nobody@localhost>2023-04-23 09:21:18 +0200
commit82cd5fda7aa1f1302641b9ef5148cc899ecf0110 (patch)
treef0295b606b7a649d34ac3273b4e2b734fcbc5fe6
parent43989ad23e1ca1ad544e4cf75a7561494e00a374 (diff)
Don't return that much entries in the mastoapi timeline.
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index ce1e547..24e7ede 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -844,7 +844,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
if (limit == 0)
limit = 20;
- xs *timeline = timeline_simple_list(&snac1, "private", 0, XS_ALL);
+ xs *timeline = timeline_simple_list(&snac1, "private", 0, 256);
xs *out = xs_list_new();
xs_list *p = timeline;