From d4ec39da72e9ef568ca199081401d3dae8eceaa6 Mon Sep 17 00:00:00 2001 From: default Date: Sat, 19 Oct 2024 21:28:11 +0200 Subject: [PATCH] Return an empty list in list_timeline() if (still) there is no list timeline. --- data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data.c b/data.c index 00494a2..ad4ca7d 100644 --- a/data.c +++ b/data.c @@ -2085,6 +2085,8 @@ xs_list *list_timeline(snac *user, const char *list, int skip, int show) if (mtime(fn) > 0.0) l = index_list_desc(fn, skip, show); + else + l = xs_list_new(); return l; }