diff --git a/lib/federation/activity_pub/relay.ex b/lib/federation/activity_pub/relay.ex index 3bc9e9212..50fef4737 100644 --- a/lib/federation/activity_pub/relay.ex +++ b/lib/federation/activity_pub/relay.ex @@ -16,7 +16,6 @@ defmodule Mobilizon.Federation.ActivityPub.Relay do alias Mobilizon.Federation.{NodeInfo, WebFinger} alias Mobilizon.GraphQL.API.Follows alias Mobilizon.Service.Workers.Background - import Mobilizon.Federation.ActivityPub.Utils, only: [create_full_domain_string: 1] require Logger @@ -185,7 +184,7 @@ defmodule Mobilizon.Federation.ActivityPub.Relay do defp fetch_actor("http://" <> address), do: fetch_actor(address) defp fetch_actor(address) do - %URI{host: host} = uri = URI.parse("http://" <> address) + %URI{host: host} = URI.parse("http://" <> address) cond do String.contains?(address, "@") ->