diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1215,10 +1215,11 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | |||
| 1215 | if (msg != NULL) { | 1215 | if (msg != NULL) { |
| 1216 | /* reload the actor from the message, in may be different */ | 1216 | /* reload the actor from the message, in may be different */ |
| 1217 | actor = xs_dict_get(msg, "object"); | 1217 | actor = xs_dict_get(msg, "object"); |
| 1218 | xs *inbox = get_actor_inbox(&snac, actor); | ||
| 1218 | 1219 | ||
| 1219 | following_add(&snac, actor, msg); | 1220 | following_add(&snac, actor, msg); |
| 1220 | 1221 | ||
| 1221 | enqueue_output(&snac, msg, actor, 0); | 1222 | enqueue_output(&snac, msg, inbox, 0); |
| 1222 | } | 1223 | } |
| 1223 | } | 1224 | } |
| 1224 | else | 1225 | else |