snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 82cd5fda7aa1f1302641b9ef5148cc899ecf0110
parent 43989ad23e1ca1ad544e4cf75a7561494e00a374
Author: default <nobody@localhost>
Date:   Sun, 23 Apr 2023 09:21:18 +0200

Don't return that much entries in the mastoapi timeline.

Diffstat:
Mmastoapi.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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;