From a3ad028973154dafad910d4d73d7d4d4822627c1 Mon Sep 17 00:00:00 2001
From: Alexander Strizhakov <alex.strizhakov@gmail.com>
Date: Tue, 3 Mar 2020 09:34:36 +0000
Subject: [PATCH] Apply suggestion to lib/pleroma/http/adapter.ex

---
 lib/pleroma/http/adapter.ex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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