summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-05-03 07:57:10 +0200
committerGravatar default2023-05-03 07:57:10 +0200
commit0bd609f5be9aa24bced629273ff2428058388ac3 (patch)
treeddc5e93c427935ec5b4d4170ef480c20d118512b /html.c
parentUse xs_replace_n() where it suits. (diff)
downloadsnac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.gz
snac2-0bd609f5be9aa24bced629273ff2428058388ac3.tar.xz
snac2-0bd609f5be9aa24bced629273ff2428058388ac3.zip
Fixed missing notifications in certain circunstancies.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 5f57262..9d6fbc6 100644
--- a/html.c
+++ b/html.c
@@ -1226,7 +1226,7 @@ xs_str *html_notifications(snac *snac)
1226 const char *actor_id = xs_dict_get(noti, "actor"); 1226 const char *actor_id = xs_dict_get(noti, "actor");
1227 xs *actor = NULL; 1227 xs *actor = NULL;
1228 1228
1229 if (!valid_status(object_get(actor_id, &actor))) 1229 if (!valid_status(actor_get(snac, actor_id, &actor)))
1230 continue; 1230 continue;
1231 1231
1232 xs *a_name = actor_name(actor); 1232 xs *a_name = actor_name(actor);