summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub.c')
-rw-r--r--activitypub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c
index f3b2bae..643baba 100644
--- a/activitypub.c
+++ b/activitypub.c
@@ -3072,7 +3072,7 @@ int activitypub_get_handler(const xs_dict *req, const char *q_path,
3072 int cnt = xs_number_get(xs_dict_get_def(srv_config, "max_public_entries", "20")); 3072 int cnt = xs_number_get(xs_dict_get_def(srv_config, "max_public_entries", "20"));
3073 3073
3074 /* get the public outbox or the pinned list */ 3074 /* get the public outbox or the pinned list */
3075 xs *elems = *p_path == 'o' ? timeline_simple_list(&snac, "public", 0, cnt) : pinned_list(&snac); 3075 xs *elems = *p_path == 'o' ? timeline_simple_list(&snac, "public", 0, cnt, NULL) : pinned_list(&snac);
3076 3076
3077 xs_list_foreach(elems, v) { 3077 xs_list_foreach(elems, v) {
3078 xs *i = NULL; 3078 xs *i = NULL;