diff options
Diffstat (limited to 'activitypub.c')
| -rw-r--r-- | activitypub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub.c b/activitypub.c index cade0d9..bcb733a 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -3081,7 +3081,7 @@ int activitypub_get_handler(const xs_dict *req, const char *q_path, | |||
| 3081 | int cnt = xs_number_get(xs_dict_get_def(srv_config, "max_public_entries", "20")); | 3081 | int cnt = xs_number_get(xs_dict_get_def(srv_config, "max_public_entries", "20")); |
| 3082 | 3082 | ||
| 3083 | /* get the public outbox or the pinned list */ | 3083 | /* get the public outbox or the pinned list */ |
| 3084 | xs *elems = *p_path == 'o' ? timeline_simple_list(&snac, "public", 0, cnt) : pinned_list(&snac); | 3084 | xs *elems = *p_path == 'o' ? timeline_simple_list(&snac, "public", 0, cnt, NULL) : pinned_list(&snac); |
| 3085 | 3085 | ||
| 3086 | xs_list_foreach(elems, v) { | 3086 | xs_list_foreach(elems, v) { |
| 3087 | xs *i = NULL; | 3087 | xs *i = NULL; |