commit 995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0
parent 7718ed2fc729c76e7d1b0f7815c82b7ffadc2f30
Author: default <nobody@localhost>
Date: Fri, 14 Apr 2023 09:34:01 +0200
notify_list() returns the notifications in reverse order.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data.c b/data.c
@@ -1567,7 +1567,7 @@ xs_list *notify_list(snac *snac, int new_only)
t = notify_check_time(snac, 0);
xs *spec = xs_fmt("%s/notify/" "*.json", snac->basedir);
- xs *lst = xs_glob(spec, 1, 0);
+ xs *lst = xs_glob(spec, 1, 1);
xs_list *out = xs_list_new();
xs_list *p = lst;
xs_str *v;