Also remove markdown for retrieved comments (same behaviour as posts)

This commit is contained in:
freamon 2024-06-05 23:28:40 +01:00
parent 7db33a084a
commit e0f43e9d96

View file

@ -246,11 +246,6 @@ def comment_model_to_json(reply: PostReply) -> dict:
}
if reply.edited_at:
reply_data['updated'] = ap_datetime(reply.edited_at)
if reply.body.strip():
reply_data['source'] = {
'content': reply.body,
'mediaType': 'text/markdown'
}
return reply_data