summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--html.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/html.c b/html.c
index cb755fb..08f2ef1 100644
--- a/html.c
+++ b/html.c
@@ -1459,6 +1459,9 @@ xs_html *html_entry(snac *user, xs_dict *msg, int read_only,
1459 if ((read_only || !user) && !is_msg_public(msg)) 1459 if ((read_only || !user) && !is_msg_public(msg))
1460 return NULL; 1460 return NULL;
1461 1461
1462 if (user && level == 0 && xs_is_true(xs_dict_get(user->config, "collapse_threads")))
1463 collapse_threads = 1;
1464
1462 /* hidden? do nothing more for this conversation */ 1465 /* hidden? do nothing more for this conversation */
1463 if (user && is_hidden(user, id)) { 1466 if (user && is_hidden(user, id)) {
1464 xs *s1 = xs_fmt("%s_entry", md5); 1467 xs *s1 = xs_fmt("%s_entry", md5);