summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-11-18 08:10:47 +0100
committerdefault <nobody@localhost>2022-11-18 08:10:47 +0100
commite01f23cbe27d9acbe3279a78364e11bec4517aac (patch)
tree775bdfb1f837a4b3b159f33de2575535cb56198c /html.c
parente6bf647b98ff5341c86d4f1172e3c6607bccc5ff (diff)
Fixed Follow bug, introduced by latest sharedInbox change.
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 7d59592..1b227fa 100644
--- a/html.c
+++ b/html.c
@@ -1215,10 +1215,11 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
if (msg != NULL) {
/* reload the actor from the message, in may be different */
actor = xs_dict_get(msg, "object");
+ xs *inbox = get_actor_inbox(&snac, actor);
following_add(&snac, actor, msg);
- enqueue_output(&snac, msg, actor, 0);
+ enqueue_output(&snac, msg, inbox, 0);
}
}
else