diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-08-19 18:05:57 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-08-20 12:42:53 +0300 |
commit | af12d08da7d928f1855df882418ba88870e52047 (patch) | |
tree | 6237a7dc69d1987e3077578fa3c1c9900a49f5c1 | |
parent | 3bc3e61dc5e7b6a10eee4c212dd113e6b2ca788a (diff) | |
download | pleroma-af12d08da7d928f1855df882418ba88870e52047.tar.gz |
no need in this
-rw-r--r-- | lib/pleroma/gun/connections.ex | 6 |
1 files changed, 1 insertions, 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 |