commit: 7f649a7a19ae5f236dc21aaa11bb9a33c72dabbf
parent 2fbb67add70e77ba7da388623064bb5a671ce349
Author: Mark Felder <feld@feld.me>
Date: Sat, 20 Jan 2024 17:50:21 -0500
Dialyzer: remove function that will never match
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex b/lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex
@@ -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)