From 55f529b82e0e93b5609c3983841b50fe2f00d2e0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 20 Jan 2025 21:16:44 +0000 Subject: [PATCH] Use instance actor --- webapp_post.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index bf0a716cd..bb8f6b0da 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -2779,7 +2779,6 @@ def individual_post_as_html(signing_priv_key_pem: str, # get the software instance type, such as "mastodon" instance_actor = post_actor if is_announced and post_json_object: - instance_actor = get_actor_from_post(post_json_object) announce_obj = post_json_object if has_object_dict(post_json_object): announce_obj = post_json_object['object'] @@ -2791,7 +2790,7 @@ def individual_post_as_html(signing_priv_key_pem: str, software_name = \ _get_instance_software(base_dir, session, instance_http_prefix, - post_actor, + instance_actor, instance_software, signing_priv_key_pem, False,