Remove most finmoji mentions where appropriate
[akkoma] / lib / pleroma / config.ex
index 21507cd38fee1ab655f11426b15c1d4d1f34a65d..189faa15f8ef13ba858e75d2a6a14be54241a6b0 100644 (file)
@@ -57,4 +57,8 @@ defmodule Pleroma.Config do
   def delete(key) do
     Application.delete_env(:pleroma, key)
   end
+
+  def oauth_consumer_strategies, do: get([:auth, :oauth_consumer_strategies], [])
+
+  def oauth_consumer_enabled?, do: oauth_consumer_strategies() != []
 end