From 9c05c3d02bcc3ea3c2aecf459388d3e4dd82ffef Mon Sep 17 00:00:00 2001 From: freamon Date: Mon, 3 Jun 2024 15:47:54 +0100 Subject: [PATCH] Remove actor from Page or else it's rejected completely --- app/activitypub/util.py | 1 - 1 file changed, 1 deletion(-) diff --git a/app/activitypub/util.py b/app/activitypub/util.py index 39bcde88..773783ca 100644 --- a/app/activitypub/util.py +++ b/app/activitypub/util.py @@ -141,7 +141,6 @@ def post_to_activity(post: Post, community: Community): "type": "Page", "id": post.ap_id, "attributedTo": post.author.profile_id(), - "actor": post.author.profile_id(), "to": [ f"https://{current_app.config['SERVER_NAME']}/c/{community.name}", "https://www.w3.org/ns/activitystreams#Public"