Dialyzer: remove function that will never match

This commit is contained in:
Mark Felder 2024-01-20 17:50:21 -05:00
parent 2fbb67add7
commit 7f649a7a19

View File

@ -56,8 +56,6 @@ defmodule Pleroma.Web.ActivityPub.MRF.AntiFollowbotPolicy do
nick_score + name_score + actor_type_score
end
defp determine_if_followbot(_), do: 0.0
defp bot_allowed?(%{"object" => target}, bot_actor) do
%User{} = user = normalize_by_ap_id(target)