From: Lain Soykaf Date: Wed, 15 Dec 2021 20:42:37 +0000 (-0500) Subject: Application: Actually start finch if it's needed X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=4e98ba3c3a96548fe6d7fa8705898c660b788fea;p=akkoma Application: Actually start finch if it's needed --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 34eaed181..952579c7f 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -61,7 +61,8 @@ defmodule Pleroma.Application do adapter = Application.get_env(:tesla, :adapter) - if adapter == Tesla.Adapter.Finch do + if match?({Tesla.Adapter.Finch, _}, adapter) do + Logger.info("Starting Finch") Finch.start_link(name: MyFinch) end