summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar default2024-05-07 19:40:28 +0200
committerGravatar default2024-05-07 19:40:28 +0200
commit6b1721c977294ee28f54150579c36514aa3ee62a (patch)
tree9ebd8169f90ce7f46485221d4c6b33ea515c8f21 /mastoapi.c
parentVersion 2.52 RELEASED. (diff)
downloadpenes-snac2-6b1721c977294ee28f54150579c36514aa3ee62a.tar.gz
penes-snac2-6b1721c977294ee28f54150579c36514aa3ee62a.tar.xz
penes-snac2-6b1721c977294ee28f54150579c36514aa3ee62a.zip
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,
1669 xs *l = xs_split(cmd, "/"); 1669 xs *l = xs_split(cmd, "/");
1670 char *list = xs_list_get(l, -1); 1670 char *list = xs_list_get(l, -1);
1671 1671
1672 xs *timeline = list_content(&snac1, list, NULL, 3); 1672 xs *timeline = list_timeline(&snac1, list, 0, 2048);
1673 xs *out = xs_list_new(); 1673 xs *out = xs_list_new();
1674 int c = 0; 1674 int c = 0;
1675 char *md5; 1675 char *md5;