diff options
Diffstat (limited to 'mastoapi.c')
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2717,7 +2717,7 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path, | |||
| 2717 | if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { | 2717 | if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { |
| 2718 | const char *content = xs_dict_get(args, "status"); | 2718 | const char *content = xs_dict_get(args, "status"); |
| 2719 | xs *atls = xs_list_new(); | 2719 | xs *atls = xs_list_new(); |
| 2720 | xs *f_content = not_really_markdown(content, &atls); | 2720 | xs *f_content = not_really_markdown(content, &atls, NULL); |
| 2721 | 2721 | ||
| 2722 | /* replace fields with new content */ | 2722 | /* replace fields with new content */ |
| 2723 | msg = xs_dict_set(msg, "sourceContent", content); | 2723 | msg = xs_dict_set(msg, "sourceContent", content); |