diff options
| author | default <nobody@localhost> | 2025-01-27 20:20:40 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-01-27 20:20:40 +0100 |
| commit | 1766d6bf92eb433841c03ccb096c636a4c5dc968 (patch) | |
| tree | 03a972ca23ad10888f35dc08aeae98baeeab9d76 /data.c | |
| parent | 82bcc4b465f73a5d1f2eebcf3813452bc1c37fbd (diff) | |
Added a 'No more unseen posts' mark.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1528,6 +1528,14 @@ xs_list *timeline_list(snac *snac, const char *idx_name, int skip, int show, int } +void timeline_add_mark(snac *user) +/* adds an "already seen" mark to the private timeline */ +{ + xs *fn = xs_fmt("%s/private.idx", user->basedir); + index_add_md5(fn, MD5_ALREADY_SEEN_MARK); +} + + xs_str *instance_index_fn(void) { return xs_fmt("%s/public.idx", srv_basedir); |