diff --git a/app/activitypub/util.py b/app/activitypub/util.py index 2a125d4d..c2c58270 100644 --- a/app/activitypub/util.py +++ b/app/activitypub/util.py @@ -177,8 +177,6 @@ def post_to_activity(post: Post, community: Community): } if post.edited_at is not None: activity_data["object"]["object"]["updated"] = ap_datetime(post.edited_at) - if post.language is not None: - activity_data["object"]["object"]["language"] = {"identifier": post.language} if (post.type == POST_TYPE_LINK or post.type == POST_TYPE_VIDEO) and post.url is not None: activity_data["object"]["object"]["attachment"] = [{"href": post.url, "type": "Link"}] if post.image_id is not None: