summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-05-03 19:16:21 +0200
committerGravatar grunfink2025-05-03 19:16:21 +0200
commit605b60c06ea882cd61df7f2d834c02cce6dd254d (patch)
treec56a85ff869ce1d2db6e523f87c33023ea272146 /html.c
parentRevert adding links as attachments. (diff)
downloadpenes-snac2-605b60c06ea882cd61df7f2d834c02cce6dd254d.tar.gz
penes-snac2-605b60c06ea882cd61df7f2d834c02cce6dd254d.tar.xz
penes-snac2-605b60c06ea882cd61df7f2d834c02cce6dd254d.zip
New function enqueue_webmention().
The q_msg is queued, but nothing is done yet.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index 0652892..e114ea7 100644
--- a/html.c
+++ b/html.c
@@ -4488,8 +4488,10 @@ int html_post_handler(const xs_dict *req, const char *q_path,
4488 snac_log(&snac, xs_fmt("cannot get object '%s' for editing", edit_id)); 4488 snac_log(&snac, xs_fmt("cannot get object '%s' for editing", edit_id));
4489 } 4489 }
4490 4490
4491 if (c_msg != NULL) 4491 if (c_msg != NULL) {
4492 enqueue_message(&snac, c_msg); 4492 enqueue_message(&snac, c_msg);
4493 enqueue_webmention(msg);
4494 }
4493 4495
4494 history_del(&snac, "timeline.html_"); 4496 history_del(&snac, "timeline.html_");
4495 } 4497 }