commit 995fd81
default
·
2023-04-14 07:34:01 +0000 UTC
parent 7718ed2
notify_list() returns the notifications in reverse order.
1 files changed,
+1,
-1
M
data.c
M
data.c
+1,
-1
1@@ -1567,7 +1567,7 @@ xs_list *notify_list(snac *snac, int new_only)
2 t = notify_check_time(snac, 0);
3
4 xs *spec = xs_fmt("%s/notify/" "*.json", snac->basedir);
5- xs *lst = xs_glob(spec, 1, 0);
6+ xs *lst = xs_glob(spec, 1, 1);
7 xs_list *out = xs_list_new();
8 xs_list *p = lst;
9 xs_str *v;