send markdown

This commit is contained in:
rimu 2024-05-24 16:32:11 +12:00
parent 71ed6fc7af
commit 4c2399bf71

View file

@ -718,6 +718,10 @@ def add_reply(post_id: int, comment_id: int):
in_reply_to.author.public_url()
],
'content': reply.body_html,
'source': {
'content': reply.body,
'mediaType': 'text/markdown'
},
'inReplyTo': in_reply_to.profile_id(),
'url': reply.profile_id(),
'mediaType': 'text/html',