From: Alexander Strizhakov Date: Tue, 3 Mar 2020 09:34:36 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/http/adapter.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a3ad028973154dafad910d4d73d7d4d4822627c1;p=akkoma Apply suggestion to lib/pleroma/http/adapter.ex --- diff --git a/lib/pleroma/http/adapter.ex b/lib/pleroma/http/adapter.ex index 6166a3eb4..32046b1d3 100644 --- a/lib/pleroma/http/adapter.ex +++ b/lib/pleroma/http/adapter.ex @@ -57,7 +57,7 @@ defmodule Pleroma.HTTP.Adapter do {:error, :einval} -> {:domain, :idna.encode(charlist)} - {:ok, ip} when is_tuple(ip) and tuple_size(ip) in [4, 8] -> + {:ok, ip} -> {:ip, ip} end end