commit 0dd570d
default
·
2023-07-06 06:48:06 +0000 UTC
parent e2789ce
Pinned posts also appear in the public timeline.
1 files changed,
+4,
-1
M
html.c
M
html.c
+4,
-1
1@@ -1670,7 +1670,10 @@ int html_get_handler(const xs_dict *req, const char *q_path,
2 xs *list = timeline_list(&snac, "private", skip, show);
3 xs *next = timeline_list(&snac, "private", skip + show, 1);
4
5- *body = html_timeline(&snac, list, 0, skip, show, xs_list_len(next));
6+ xs *pins = pinned_list(&snac);
7+ pins = xs_list_cat(pins, list);
8+
9+ *body = html_timeline(&snac, pins, 0, skip, show, xs_list_len(next));
10
11 *b_size = strlen(*body);
12 status = 200;