diff options
| author | 2022-12-03 07:27:26 +0100 | |
|---|---|---|
| committer | 2022-12-03 07:27:26 +0100 | |
| commit | af6d31ff83bfe1eb6f4d37c5623e35f149e9aee5 (patch) | |
| tree | ccce0075e128768e49832e7f14c80cf4de37a8cc /activitypub.c | |
| parent | Show stray parents in the origin. (diff) | |
| download | snac2-af6d31ff83bfe1eb6f4d37c5623e35f149e9aee5.tar.gz snac2-af6d31ff83bfe1eb6f4d37c5623e35f149e9aee5.tar.xz snac2-af6d31ff83bfe1eb6f4d37c5623e35f149e9aee5.zip | |
New function timeline_simple_list().
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 f19774c..9ac6bed 100644 --- a/activitypub.c +++ b/activitypub.c | |||
| @@ -1094,7 +1094,7 @@ int activitypub_get_handler(d_char *req, char *q_path, | |||
| 1094 | else | 1094 | else |
| 1095 | if (strcmp(p_path, "outbox") == 0) { | 1095 | if (strcmp(p_path, "outbox") == 0) { |
| 1096 | xs *id = xs_fmt("%s/outbox", snac.actor); | 1096 | xs *id = xs_fmt("%s/outbox", snac.actor); |
| 1097 | xs *elems = timeline_list(&snac, "public", 20); | 1097 | xs *elems = timeline_simple_list(&snac, "public", 20); |
| 1098 | xs *list = xs_list_new(); | 1098 | xs *list = xs_list_new(); |
| 1099 | msg = msg_collection(&snac, id); | 1099 | msg = msg_collection(&snac, id); |
| 1100 | char *p, *v; | 1100 | char *p, *v; |