From adf0a13992edb85738ac983a872937a805629474 Mon Sep 17 00:00:00 2001 From: default Date: Mon, 25 Mar 2024 16:15:09 +0100 Subject: If an emoji in emojis.json is an URL to an image, it's stored in the tag list. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastoapi.c') diff --git a/mastoapi.c b/mastoapi.c index 0ec1429..fab71f1 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -2717,7 +2717,7 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path, if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { const char *content = xs_dict_get(args, "status"); xs *atls = xs_list_new(); - xs *f_content = not_really_markdown(content, &atls); + xs *f_content = not_really_markdown(content, &atls, NULL); /* replace fields with new content */ msg = xs_dict_set(msg, "sourceContent", content); -- cgit v1.2.3