From b2f091cb5ad0544fffab699f244690671684fa87 Mon Sep 17 00:00:00 2001 From: e0w0e Date: Mon, 22 Jun 2026 21:00:55 +0200 Subject: Fixed custom emojis would turn into plain text with the :shortcode: format after edit status. I've noticed that when I post a status, custom emojis display correctly, but when I edit this status using clients(e.g.Trunks, Moshidon, Phanpy.social...), the custom emojis no longer display correctly. This change might resolve the issue. --- mastoapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastoapi.c b/mastoapi.c index 1f4928e..cf2f53e 100644 --- a/mastoapi.c +++ b/mastoapi.c @@ -4208,8 +4208,8 @@ 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_content0 = not_really_markdown(content, &atls, NULL); xs *tag = xs_list_new(); + xs *f_content0 = not_really_markdown(content, &atls, &tag); xs *f_content = process_tags(&snac, f_content0, &tag); /* replace fields with new content */ -- cgit