diff --git a/app/chat/util.py b/app/chat/util.py index d997e181..9b6083f3 100644 --- a/app/chat/util.py +++ b/app/chat/util.py @@ -38,10 +38,6 @@ def send_message(message: str, conversation_id: int) -> ChatMessage: "id": f"https://{current_app.config['SERVER_NAME']}/private_message/{reply.id}", "mediaType": "text/html", "published": utcnow().isoformat() + 'Z', # Lemmy is inconsistent with the date format they use - "source": { - "content": reply.body, - "mediaType": "text/markdown" - }, "to": [ recipient.profile_id() ], diff --git a/app/community/routes.py b/app/community/routes.py index 8ce767a9..91d9e277 100644 --- a/app/community/routes.py +++ b/app/community/routes.py @@ -888,10 +888,6 @@ def federate_post(community, post): 'cc': [], 'content': post.body_html if post.body_html else '', 'mediaType': 'text/html', - 'source': { - 'content': post.body if post.body else '', - 'mediaType': 'text/markdown' - }, 'attachment': [], 'commentsEnabled': post.comments_enabled, 'sensitive': post.nsfw,