From af12d08da7d928f1855df882418ba88870e52047 Mon Sep 17 00:00:00 2001 From: Alex S Date: Mon, 19 Aug 2019 18:05:57 +0300 Subject: [PATCH] no need in this --- lib/pleroma/gun/connections.ex | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/pleroma/gun/connections.ex b/lib/pleroma/gun/connections.ex index 361e8aaee..d3c44017d 100644 --- a/lib/pleroma/gun/connections.ex +++ b/lib/pleroma/gun/connections.ex @@ -19,11 +19,7 @@ defmodule Pleroma.Gun.Connections do @spec start_link({atom(), keyword()}) :: {:ok, pid()} | :ignore def start_link({name, opts}) do - if Application.get_env(:tesla, :adapter) == Tesla.Adapter.Gun do - GenServer.start_link(__MODULE__, opts, name: name) - else - :ignore - end + GenServer.start_link(__MODULE__, opts, name: name) end @impl true