commit 8249301

grunfink  ·  2026-04-10 19:31:42 +0000 UTC
parent 74bc018
Fixed crash.
1 files changed,  +1, -1
M html.c
M html.c
+1, -1
1@@ -3598,7 +3598,7 @@ xs_str *html_timeline(snac *user, const xs_list *list, int read_only,
2 
3     int mark_shown = 0;
4 
5-    int show_unlisted = xs_is_true(xs_dict_get(user->config, "show_unlisted"));
6+    int show_unlisted = user ? xs_is_true(xs_dict_get(user->config, "show_unlisted")) : 0;
7 
8     while (xs_list_iter(&p, &v)) {
9         xs *msg = NULL;