mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
fix invalid Activity when sending image post
This commit is contained in:
parent
4354d4259e
commit
c8f837a52e
1 changed files with 1 additions and 1 deletions
|
@ -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': [],
|
||||
|
|
Loading…
Add table
Reference in a new issue