diff --git a/lib/service/web_finger/web_finger.ex b/lib/service/web_finger/web_finger.ex index deec9181..47761a14 100644 --- a/lib/service/web_finger/web_finger.ex +++ b/lib/service/web_finger/web_finger.ex @@ -91,7 +91,8 @@ defmodule Mobilizon.Service.WebFinger do Logger.debug(inspect(address)) - with {:ok, %HTTPoison.Response{} = response} <- + with false <- is_nil(domain), + {:ok, %HTTPoison.Response{} = response} <- HTTPoison.get( address, [Accept: "application/json, application/activity+json, application/jrd+json"],