summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2024-11-07 21:17:38 +0100
committerGravatar default2024-11-07 21:17:38 +0100
commit3e9222c0491ab6681fb0784413d3d923f032462f (patch)
treec5bff5dd387cd788b0a2528b18d65ed3352d159d /html.c
parentUse the raw_path for proxying (as some media may include ? arguments). (diff)
downloadsnac2-3e9222c0491ab6681fb0784413d3d923f032462f.tar.gz
snac2-3e9222c0491ab6681fb0784413d3d923f032462f.tar.xz
snac2-3e9222c0491ab6681fb0784413d3d923f032462f.zip
Fixed 'strict_public_timelines' being applied to the private timeline.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 5d379e8..12efea5 100644
--- a/html.c
+++ b/html.c
@@ -2198,7 +2198,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2198 xs_list *p = (xs_list *)list; 2198 xs_list *p = (xs_list *)list;
2199 const char *v; 2199 const char *v;
2200 double t = ftime(); 2200 double t = ftime();
2201 int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines")); 2201 int hide_children = xs_is_true(xs_dict_get(srv_config, "strict_public_timelines")) && read_only;
2202 2202
2203 xs *desc = NULL; 2203 xs *desc = NULL;
2204 xs *alternate = NULL; 2204 xs *alternate = NULL;