fix invalid Activity when sending image post

This commit is contained in:
rimu 2024-01-07 18:20:04 +13:00
parent 4354d4259e
commit c8f837a52e

View file

@ -355,7 +355,7 @@ def add_post(actor):
'content': post.body_html,
'mediaType': 'text/html',
'source': {
'content': post.body,
'content': post.body if post.body else '',
'mediaType': 'text/markdown'
},
'attachment': [],