diff options
author | default <nobody@localhost> | 2024-02-22 12:26:32 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2024-02-22 12:26:32 +0100 |
commit | d4364e80f7b16126e5f6434b2b487603b8354dd9 (patch) | |
tree | cc7da36ea96fc942b111a74f842735feba22cac8 /httpd.c | |
parent | 69d33622d3065777a16f10f4b7ebc2627a8a99bb (diff) |
Added *another argument* to html_timeline() to select where posts are taken from.
This way, the /instance logged-in timeline can show posts that are not
really into a user's timeline.
Diffstat (limited to 'httpd.c')
-rw-r--r-- | httpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -195,13 +195,13 @@ int server_get_handler(xs_dict *req, const char *q_path, more = 1; } - *body = html_timeline(NULL, tl, 0, skip, show, more, t, NULL); + *body = html_timeline(NULL, tl, 0, skip, show, more, t, NULL, 0); } else if (xs_type(xs_dict_get(srv_config, "show_instance_timeline")) == XSTYPE_TRUE) { /** instance timeline **/ xs *tl = timeline_instance_list(0, 30); - *body = html_timeline(NULL, tl, 0, 0, 0, 0, NULL, NULL); + *body = html_timeline(NULL, tl, 0, 0, 0, 0, NULL, NULL, 0); } else *body = greeting_html(); |