mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
post_to_page: remove old post.language overwrite (bugfix)
This commit is contained in:
parent
c5596e2f08
commit
e6b3a5bd7c
1 changed files with 0 additions and 2 deletions
|
@ -229,8 +229,6 @@ def post_to_page(post: Post):
|
|||
}
|
||||
if post.edited_at is not None:
|
||||
activity_data["updated"] = ap_datetime(post.edited_at)
|
||||
if post.language is not None:
|
||||
activity_data["language"] = {"identifier": post.language}
|
||||
if (post.type == POST_TYPE_LINK or post.type == POST_TYPE_VIDEO) and post.url is not None:
|
||||
activity_data["attachment"] = [{"href": post.url, "type": "Link"}]
|
||||
if post.image_id is not None:
|
||||
|
|
Loading…
Add table
Reference in a new issue