mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 03:43:42 -08:00
Remove actor from Page or else it's rejected completely
This commit is contained in:
parent
048a289d67
commit
9c05c3d02b
1 changed files with 0 additions and 1 deletions
|
@ -141,7 +141,6 @@ def post_to_activity(post: Post, community: Community):
|
||||||
"type": "Page",
|
"type": "Page",
|
||||||
"id": post.ap_id,
|
"id": post.ap_id,
|
||||||
"attributedTo": post.author.profile_id(),
|
"attributedTo": post.author.profile_id(),
|
||||||
"actor": post.author.profile_id(),
|
|
||||||
"to": [
|
"to": [
|
||||||
f"https://{current_app.config['SERVER_NAME']}/c/{community.name}",
|
f"https://{current_app.config['SERVER_NAME']}/c/{community.name}",
|
||||||
"https://www.w3.org/ns/activitystreams#Public"
|
"https://www.w3.org/ns/activitystreams#Public"
|
||||||
|
|
Loading…
Add table
Reference in a new issue