aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2025-05-03 19:16:21 +0200
committergrunfink <grunfink@comam.es>2025-05-03 19:16:21 +0200
commit605b60c06ea882cd61df7f2d834c02cce6dd254d (patch)
treec56a85ff869ce1d2db6e523f87c33023ea272146 /html.c
parent7f38c744dc6ead2ccac83ae979c99ef521aad23a (diff)
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,
snac_log(&snac, xs_fmt("cannot get object '%s' for editing", edit_id));
}
- if (c_msg != NULL)
+ if (c_msg != NULL) {
enqueue_message(&snac, c_msg);
+ enqueue_webmention(msg);
+ }
history_del(&snac, "timeline.html_");
}