summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-05-21 20:32:23 +0200
committerdefault <nobody@localhost>2023-05-21 20:32:23 +0200
commit49362f54049a357e52cd6c57d2aa20d33add3307 (patch)
tree0417bac6b8157ce7be07be86b7eb6915bb24cdf7 /snac.h
parent3cd73311bece7783bbcc3774f5fd54c520eb88ed (diff)
Convert image links in notes to attachments.
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/snac.h b/snac.h
index 5ee86b4..441fa7e 100644
--- a/snac.h
+++ b/snac.h
@@ -228,7 +228,7 @@ int activitypub_post_handler(const xs_dict *req, const char *q_path,
char *payload, int p_size,
char **body, int *b_size, char **ctype);
-xs_str *not_really_markdown(const char *content);
+xs_str *not_really_markdown(const char *content, xs_list **attach);
xs_str *sanitize(const char *content);
int html_get_handler(const xs_dict *req, const char *q_path,