summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-05-07 19:40:28 +0200
committerdefault <nobody@localhost>2024-05-07 19:40:28 +0200
commit6b1721c977294ee28f54150579c36514aa3ee62a (patch)
tree9ebd8169f90ce7f46485221d4c6b33ea515c8f21 /mastoapi.c
parentc5ae10af862d3c76c79e848fc4dbe69f80cfc214 (diff)
List timelines can now be (manually) navigated from the web UI.
URLs are {srv_baseurl}/{user}/list/{list_id} (you must know the list id).
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 1f7f0b2..d39a6f9 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1669,7 +1669,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
xs *l = xs_split(cmd, "/");
char *list = xs_list_get(l, -1);
- xs *timeline = list_content(&snac1, list, NULL, 3);
+ xs *timeline = list_timeline(&snac1, list, 0, 2048);
xs *out = xs_list_new();
int c = 0;
char *md5;