diff options
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))) |