commit 3e9222c

default  ·  2024-11-07 20:17:38 +0000 UTC
parent a6bf1ee
Fixed 'strict_public_timelines' being applied to the private timeline.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -2198,7 +2198,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2     xs_list *p = (xs_list *)list;
3     const char *v;
4     double t = ftime();
5-    int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines"));
6+    int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines")) && read_only;
7 
8     xs *desc = NULL;
9     xs *alternate = NULL;