diff options
| author | 2025-05-03 19:16:21 +0200 | |
|---|---|---|
| committer | 2025-05-03 19:16:21 +0200 | |
| commit | 605b60c06ea882cd61df7f2d834c02cce6dd254d (patch) | |
| tree | c56a85ff869ce1d2db6e523f87c33023ea272146 /html.c | |
| parent | Revert adding links as attachments. (diff) | |
| download | penes-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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 | } |