commit 481c031

grunfink  ·  2025-12-09 12:38:56 +0000 UTC
parent ee7483c
If terse is set, history is also hidden.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -3248,7 +3248,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2 
3     if (list && user && read_only) {
4         /** history **/
5-        if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE) {
6+        if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE && !terse) {
7             xs_html *ul = xs_html_tag("ul", NULL);
8 
9             xs_html *history = xs_html_tag("div",