summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index d3b4148..20b170b 100644
--- a/html.c
+++ b/html.c
@@ -1358,7 +1358,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
1358 1358
1359 if (msg != NULL) { 1359 if (msg != NULL) {
1360 enqueue_message(&snac, msg); 1360 enqueue_message(&snac, msg);
1361 timeline_admire(&snac, msg, id, snac.actor, 1); 1361 timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 1);
1362 } 1362 }
1363 } 1363 }
1364 else 1364 else
@@ -1367,7 +1367,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
1367 1367
1368 if (msg != NULL) { 1368 if (msg != NULL) {
1369 enqueue_message(&snac, msg); 1369 enqueue_message(&snac, msg);
1370 timeline_admire(&snac, msg, id, snac.actor, 0); 1370 timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 0);
1371 } 1371 }
1372 } 1372 }
1373 else 1373 else