From 82493015e54b10463594c913bd57c479a1e0bc2d Mon Sep 17 00:00:00 2001 From: grunfink Date: Fri, 10 Apr 2026 21:31:42 +0200 Subject: Fixed crash. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html.c b/html.c index dc37135..148b8b2 100644 --- a/html.c +++ b/html.c @@ -3598,7 +3598,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only, int mark_shown = 0; - int show_unlisted = xs_is_true(xs_dict_get(user->config, "show_unlisted")); + int show_unlisted = user ? xs_is_true(xs_dict_get(user->config, "show_unlisted")) : 0; while (xs_list_iter(&p, &v)) { xs *msg = NULL; -- cgit