diff options
| author | 2024-02-05 10:18:38 +0100 | |
|---|---|---|
| committer | 2024-02-05 10:18:38 +0100 | |
| commit | 729ad476f081e0ea63f90263ce5959b9889356f9 (patch) | |
| tree | 8e9e7e4949b587493aecebc4538d2d6a8979d1d8 /mastoapi.c | |
| parent | Don't serve a cached admin page if it's older than the server start time. (diff) | |
| download | snac2-729ad476f081e0ea63f90263ce5959b9889356f9.tar.gz snac2-729ad476f081e0ea63f90263ce5959b9889356f9.tar.xz snac2-729ad476f081e0ea63f90263ce5959b9889356f9.zip | |
notify_list() no longer has a new_only argument.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1542,7 +1542,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 1542 | else | 1542 | else |
| 1543 | if (strcmp(cmd, "/v1/notifications") == 0) { /** **/ | 1543 | if (strcmp(cmd, "/v1/notifications") == 0) { /** **/ |
| 1544 | if (logged_in) { | 1544 | if (logged_in) { |
| 1545 | xs *l = notify_list(&snac1, 0); | 1545 | xs *l = notify_list(&snac1); |
| 1546 | xs *out = xs_list_new(); | 1546 | xs *out = xs_list_new(); |
| 1547 | xs_list *p = l; | 1547 | xs_list *p = l; |
| 1548 | xs_dict *v; | 1548 | xs_dict *v; |