Return an empty list in list_timeline() if (still) there is no list timeline.

This commit is contained in:
default 2024-10-19 21:28:11 +02:00
parent 30323616cb
commit d4ec39da72

2
data.c
View file

@ -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;
}