summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-22 12:26:32 +0100
committerdefault <nobody@localhost>2024-02-22 12:26:32 +0100
commitd4364e80f7b16126e5f6434b2b487603b8354dd9 (patch)
treecc7da36ea96fc942b111a74f842735feba22cac8 /snac.h
parent69d33622d3065777a16f10f4b7ebc2627a8a99bb (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 'snac.h')
-rw-r--r--snac.h3
1 files changed, 2 insertions, 1 deletions
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);