diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1376,7 +1376,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | |||
| 1376 | 1376 | ||
| 1377 | if (msg != NULL) { | 1377 | if (msg != NULL) { |
| 1378 | enqueue_message(&snac, msg); | 1378 | enqueue_message(&snac, msg); |
| 1379 | timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 1); | 1379 | timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 1); |
| 1380 | } | 1380 | } |
| 1381 | } | 1381 | } |
| 1382 | else | 1382 | else |
| @@ -1385,7 +1385,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | |||
| 1385 | 1385 | ||
| 1386 | if (msg != NULL) { | 1386 | if (msg != NULL) { |
| 1387 | enqueue_message(&snac, msg); | 1387 | enqueue_message(&snac, msg); |
| 1388 | timeline_admire(&snac, msg, xs_dict_get(msg, "object"), snac.actor, 0); | 1388 | timeline_admire(&snac, xs_dict_get(msg, "object"), snac.actor, 0); |
| 1389 | } | 1389 | } |
| 1390 | } | 1390 | } |
| 1391 | else | 1391 | else |