aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-08-19 18:05:57 +0300
committerAlex S <alex.strizhakov@gmail.com>2019-08-20 12:42:53 +0300
commitaf12d08da7d928f1855df882418ba88870e52047 (patch)
tree6237a7dc69d1987e3077578fa3c1c9900a49f5c1
parent3bc3e61dc5e7b6a10eee4c212dd113e6b2ca788a (diff)
downloadpleroma-af12d08da7d928f1855df882418ba88870e52047.tar.gz
no need in this
-rw-r--r--lib/pleroma/gun/connections.ex6
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