fix instance replacement
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
4362c4aa8d
commit
74c5e5f97d
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ def prepare_outgoing(
|
||||||
if Visibility.private?(object) && object.data["actor"] == ap_id do
|
if Visibility.private?(object) && object.data["actor"] == ap_id do
|
||||||
data |> Map.put("object", object |> Map.get(:data) |> prepare_object(host))
|
data |> Map.put("object", object |> Map.get(:data) |> prepare_object(host))
|
||||||
else
|
else
|
||||||
data |> maybe_fix_object_url
|
data |> maybe_fix_object_url |> replace_instance_host(host)
|
||||||
end
|
end
|
||||||
|
|
||||||
data =
|
data =
|
||||||
|
|
Loading…
Reference in a new issue