From b8e5a00eab2b227dcd6fd93eab5951e81368ceaa Mon Sep 17 00:00:00 2001 From: default Date: Sun, 19 Nov 2023 18:44:02 +0100 Subject: [PATCH] Fixed history disabling. --- html.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/html.c b/html.c index d741828..50dc25b 100644 --- a/html.c +++ b/html.c @@ -1600,29 +1600,34 @@ xs_str *html_timeline(snac *user, const xs_list *list, int local, s = xs_str_cat(s, "\n"); - if (list && user && local && xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE) { - xs *s1 = xs_fmt( - "
\n" - "

%s

\n"); + } } {