aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-12-09 13:38:56 +0100
committergrunfink <grunfink@comam.es>2025-12-09 13:38:56 +0100
commit481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c (patch)
tree48b71e21c3a400de869378584a9fe38cbd7be62a
parentee7483cf0dd007d104a815fce47a0d5f050ca870 (diff)
If terse is set, history is also hidden.
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 32ed057..8f7c4a9 100644
--- a/html.c
+++ b/html.c
@@ -3248,7 +3248,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
if (list && user && read_only) {
/** history **/
- if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE) {
+ if (xs_type(xs_dict_get(srv_config, "disable_history")) != XSTYPE_TRUE && !terse) {
xs_html *ul = xs_html_tag("ul", NULL);
xs_html *history = xs_html_tag("div",