From d4364e80f7b16126e5f6434b2b487603b8354dd9 Mon Sep 17 00:00:00 2001 From: default Date: Thu, 22 Feb 2024 12:26:32 +0100 Subject: 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. --- snac.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'snac.h') diff --git a/snac.h b/snac.h index b95e4e1..85f8b44 100644 --- a/snac.h +++ b/snac.h @@ -297,7 +297,8 @@ xs_str *sanitize(const char *content); xs_str *encode_html(const char *str); xs_str *html_timeline(snac *user, const xs_list *list, int read_only, - int skip, int show, int show_more, char *tag, char *page); + int skip, int show, int show_more, + char *tag, char *page, int utl); int html_get_handler(const xs_dict *req, const char *q_path, char **body, int *b_size, char **ctype, xs_str **etag); -- cgit v1.2.3