aboutsummaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2024-02-05 10:18:38 +0100
committerdefault <nobody@localhost>2024-02-05 10:18:38 +0100
commit729ad476f081e0ea63f90263ce5959b9889356f9 (patch)
tree8e9e7e4949b587493aecebc4538d2d6a8979d1d8 /mastoapi.c
parent823cb05fe53e364c4421512a9f1263ed54662de0 (diff)
notify_list() no longer has a new_only argument.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
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;