diff options
author | default <nobody@localhost> | 2023-05-03 07:57:10 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-05-03 07:57:10 +0200 |
commit | 0bd609f5be9aa24bced629273ff2428058388ac3 (patch) | |
tree | ddc5e93c427935ec5b4d4170ef480c20d118512b | |
parent | be5f08e6c3d605fb2beb1fdd1c2f10818b1e1812 (diff) |
Fixed missing notifications in certain circunstancies.
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | mastoapi.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1226,7 +1226,7 @@ xs_str *html_notifications(snac *snac) const char *actor_id = xs_dict_get(noti, "actor"); xs *actor = NULL; - if (!valid_status(object_get(actor_id, &actor))) + if (!valid_status(actor_get(snac, actor_id, &actor))) continue; xs *a_name = actor_name(actor); @@ -1108,7 +1108,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path, xs *actor = NULL; xs *entry = NULL; - if (!valid_status(object_get(xs_dict_get(noti, "actor"), &actor))) + if (!valid_status(actor_get(&snac1, xs_dict_get(noti, "actor"), &actor))) continue; if (objid != NULL && !valid_status(object_get(objid, &entry))) |