diff options
| author | e0w0e <e0w0e@noreply.codeberg.org> | 2026-06-22 21:00:55 +0200 |
|---|---|---|
| committer | e0w0e <e0w0e@noreply.codeberg.org> | 2026-06-22 21:00:55 +0200 |
| commit | b2f091cb5ad0544fffab699f244690671684fa87 (patch) | |
| tree | cc554525caea77fe3529897fe75f2cb702718ba1 | |
| parent | a0fada72cc4829d757a8691d214069b27aa80fbb (diff) | |
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.
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |