diff options
| author | grunfink <grunfink@comam.es> | 2025-12-09 13:38:56 +0100 |
|---|---|---|
| committer | grunfink <grunfink@comam.es> | 2025-12-09 13:38:56 +0100 |
| commit | 481c0315ef7ccd2eaf0ec9c6eaa17cbbd7efeb2c (patch) | |
| tree | 48b71e21c3a400de869378584a9fe38cbd7be62a /html.c | |
| parent | ee7483cf0dd007d104a815fce47a0d5f050ca870 (diff) | |
If terse is set, history is also hidden.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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", |