From 729ad476f081e0ea63f90263ce5959b9889356f9 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 5 Feb 2024 10:18:38 +0100 Subject: notify_list() no longer has a new_only argument. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index efcdae8..f1af7ba 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -1542,7 +1542,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, else if (strcmp(cmd, "/v1/notifications") == 0) { /** **/ if (logged_in) { - xs *l = notify_list(&snac1, 0); + xs *l = notify_list(&snac1); xs *out = xs_list_new(); xs_list *p = l; xs_dict *v; -- cgit v1.2.3