good point, andrew #194

This commit is contained in:
rimu 2024-06-04 10:20:54 +12:00
parent f44a8dfedd
commit c902f28137

View file

@ -133,7 +133,7 @@ def post_to_activity(post: Post, community: Community):
], ],
"object": { "object": {
"id": create_id, "id": create_id,
"actor": post.author.profile_id(), "actor": post.author.profile_id() if post.author.is_local() else post.author.ap_public_url,
"to": [ "to": [
"https://www.w3.org/ns/activitystreams#Public" "https://www.w3.org/ns/activitystreams#Public"
], ],