fix instance replacement

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-03 20:16:50 +02:00
parent 4362c4aa8d
commit 74c5e5f97d

View file

@ -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 =