commit aa7549b
grunfink
·
2026-04-14 16:19:02 +0000 UTC
parent ca24e28
Fixed crash in rss_from_timeline().
1 files changed,
+1,
-1
M
rss.c
M
rss.c
+1,
-1
1@@ -44,7 +44,7 @@ xs_str *rss_from_timeline(snac *user, const xs_list *timeline,
2 int cnt = 0;
3 const char *v;
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 xs_list_foreach(timeline, v) {
9 xs *msg = NULL;