diff options
| author | 2024-02-22 12:26:32 +0100 | |
|---|---|---|
| committer | 2024-02-22 12:26:32 +0100 | |
| commit | d4364e80f7b16126e5f6434b2b487603b8354dd9 (patch) | |
| tree | cc7da36ea96fc942b111a74f842735feba22cac8 /snac.h | |
| parent | Reverted ae6aafeb881c075a49eddd834bcfc21e9fc63b18. (diff) | |
| download | snac2-d4364e80f7b16126e5f6434b2b487603b8354dd9.tar.gz snac2-d4364e80f7b16126e5f6434b2b487603b8354dd9.tar.xz snac2-d4364e80f7b16126e5f6434b2b487603b8354dd9.zip | |
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -297,7 +297,8 @@ xs_str *sanitize(const char *content); | |||
| 297 | xs_str *encode_html(const char *str); | 297 | xs_str *encode_html(const char *str); |
| 298 | 298 | ||
| 299 | xs_str *html_timeline(snac *user, const xs_list *list, int read_only, | 299 | xs_str *html_timeline(snac *user, const xs_list *list, int read_only, |
| 300 | int skip, int show, int show_more, char *tag, char *page); | 300 | int skip, int show, int show_more, |
| 301 | char *tag, char *page, int utl); | ||
| 301 | 302 | ||
| 302 | int html_get_handler(const xs_dict *req, const char *q_path, | 303 | int html_get_handler(const xs_dict *req, const char *q_path, |
| 303 | char **body, int *b_size, char **ctype, xs_str **etag); | 304 | char **body, int *b_size, char **ctype, xs_str **etag); |