mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 11:51:27 -08:00
good point, andrew #194
This commit is contained in:
parent
f44a8dfedd
commit
c902f28137
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue