snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 3e9222c0491ab6681fb0784413d3d923f032462f
parent a6bf1ee0d0e238cb13d916c019bc231986d44401
Author: default <nobody@localhost>
Date:   Thu,  7 Nov 2024 21:17:38 +0100

Fixed 'strict_public_timelines' being applied to the private timeline.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -2198,7 +2198,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, xs_list *p = (xs_list *)list; const char *v; double t = ftime(); - int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines")); + int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines")) && read_only; xs *desc = NULL; xs *alternate = NULL;