diff options
| author | 2024-05-07 19:40:28 +0200 | |
|---|---|---|
| committer | 2024-05-07 19:40:28 +0200 | |
| commit | 6b1721c977294ee28f54150579c36514aa3ee62a (patch) | |
| tree | 9ebd8169f90ce7f46485221d4c6b33ea515c8f21 /mastoapi.c | |
| parent | Version 2.52 RELEASED. (diff) | |
| download | penes-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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; |