mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-14 17:45:04 +00:00
Return an empty list in list_timeline() if (still) there is no list timeline.
This commit is contained in:
parent
30323616cb
commit
d4ec39da72
1 changed files with 2 additions and 0 deletions
2
data.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue