summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-01-11 20:47:36 +0100
committerGravatar default2023-01-11 20:47:36 +0100
commit40b3f739d24a7ab87cfc35818638eca061b9d19c (patch)
tree2c33e01bf02f13f67d8837474773224dd8142b73 /html.c
parentDeleted unused arguments in timeline_add(). (diff)
downloadsnac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.tar.gz
snac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.tar.xz
snac2-40b3f739d24a7ab87cfc35818638eca061b9d19c.zip
Deleted unused argument in timeline_admire().
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 276caf6..4f3da63 100644
--- a/html.c
+++ b/html.c
@@ -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