summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar Kelson Vibber2024-05-09 04:42:35 +0000
committerGravatar Kelson Vibber2024-05-09 04:42:35 +0000
commitc17a225ce2f4042b084aa83652aefbacbe03f72c (patch)
tree36cbad81c61f7c558318871c4178f65a6d24f178 /mastoapi.c
parentSet avatars and custom emoji as square (fixes display in Dillo) (diff)
parentMerge branch 'master' of grunfink-codeberg:grunfink/snac2 (diff)
downloadsnac2-c17a225ce2f4042b084aa83652aefbacbe03f72c.tar.gz
snac2-c17a225ce2f4042b084aa83652aefbacbe03f72c.tar.xz
snac2-c17a225ce2f4042b084aa83652aefbacbe03f72c.zip
Merge branch 'master' into style-tweaks-on-2.52
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;