mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
send markdown
This commit is contained in:
parent
71ed6fc7af
commit
4c2399bf71
1 changed files with 4 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue