diff options
| author | 2023-05-03 07:57:10 +0200 | |
|---|---|---|
| committer | 2023-05-03 07:57:10 +0200 | |
| commit | 0bd609f5be9aa24bced629273ff2428058388ac3 (patch) | |
| tree | ddc5e93c427935ec5b4d4170ef480c20d118512b /mastoapi.c | |
| parent | Use xs_replace_n() where it suits. (diff) | |
| download | snac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.gz snac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.xz snac2-0bd609f5be9aa24bced629273ff2428058388ac3.zip | |
Fixed missing notifications in certain circunstancies.
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1108,7 +1108,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, | |||
| 1108 | xs *actor = NULL; | 1108 | xs *actor = NULL; |
| 1109 | xs *entry = NULL; | 1109 | xs *entry = NULL; |
| 1110 | 1110 | ||
| 1111 | if (!valid_status(object_get(xs_dict_get(noti, "actor"), &actor))) | 1111 | if (!valid_status(actor_get(&snac1, xs_dict_get(noti, "actor"), &actor))) |
| 1112 | continue; | 1112 | continue; |
| 1113 | 1113 | ||
| 1114 | if (objid != NULL && !valid_status(object_get(objid, &entry))) | 1114 | if (objid != NULL && !valid_status(object_get(objid, &entry))) |