diff options
| -rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2595,7 +2595,7 @@ int mastoapi_put_handler(const xs_dict *req, const char *q_path, | |||
| 2595 | if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { | 2595 | if (valid_status(timeline_get_by_md5(&snac, md5, &msg))) { |
| 2596 | const char *content = xs_dict_get(args, "status"); | 2596 | const char *content = xs_dict_get(args, "status"); |
| 2597 | xs *atls = xs_list_new(); | 2597 | xs *atls = xs_list_new(); |
| 2598 | const char *f_content = not_really_markdown(content, &atls); | 2598 | xs *f_content = not_really_markdown(content, &atls); |
| 2599 | 2599 | ||
| 2600 | /* replace fields with new content */ | 2600 | /* replace fields with new content */ |
| 2601 | msg = xs_dict_set(msg, "sourceContent", content); | 2601 | msg = xs_dict_set(msg, "sourceContent", content); |