summaryrefslogtreecommitdiff
path: root/activitypub.c
diff options
context:
space:
mode:
authorGravatar shtrophic2025-02-15 14:37:36 +0100
committerGravatar shtrophic2025-02-15 14:37:36 +0100
commit7611a6bee4bcbad2f1710aafa99aba730e5cf995 (patch)
tree33ab7bee30379e16f6869b2efda5494be8aeb858 /activitypub.c
parentenforce tls when supported && add tests (diff)
parentVersion 2.72 RELEASED. (diff)
downloadpenes-snac2-7611a6bee4bcbad2f1710aafa99aba730e5cf995.tar.gz
penes-snac2-7611a6bee4bcbad2f1710aafa99aba730e5cf995.tar.xz
penes-snac2-7611a6bee4bcbad2f1710aafa99aba730e5cf995.zip
Merge tag '2.72' into curl-smtp
Version 2.72 RELEASED.
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;