commit c66cd2e
default
·
2023-04-13 16:34:14 +0000 UTC
parent a6d664a
Fixed crash in notify_get().
1 files changed,
+1,
-1
M
data.c
M
data.c
+1,
-1
1@@ -1542,7 +1542,7 @@ void notify_add(snac *snac, const char *type, const char *utype,
2 xs_dict *notify_get(snac *snac, const char *id)
3 /* gets a notification */
4 {
5- xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir);
6+ xs *fn = xs_fmt("%s/notify/%s.json", snac->basedir, id);
7 FILE *f;
8 xs_dict *out = NULL;
9