diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 2084ebacb1..3a0773fc4f 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -813,7 +813,7 @@ def prepare_outgoing( if Visibility.private?(object) && object.data["actor"] == ap_id do data |> Map.put("object", object |> Map.get(:data) |> prepare_object(host)) else - data |> maybe_fix_object_url + data |> maybe_fix_object_url |> replace_instance_host(host) end data =