summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-04-14 09:34:01 +0200
committerdefault <nobody@localhost>2023-04-14 09:34:01 +0200
commit995fd81e48c67c8677a7cfc1d86c08d15cf2a1e0 (patch)
treee3c1fb24937ee78d582fd4e2eb9002ce3f66a5af /data.c
parent7718ed2fc729c76e7d1b0f7815c82b7ffadc2f30 (diff)
notify_list() returns the notifications in reverse order.
Diffstat (limited to 'data.c')
-rw-r--r--data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.c b/data.c
index f54f082..7071097 100644
--- 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;