diff options
author | Mark Felder <feld@feld.me> | 2024-01-20 17:50:21 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2024-01-20 17:50:21 -0500 |
commit | 7f649a7a19ae5f236dc21aaa11bb9a33c72dabbf (patch) | |
tree | 03054a79e6791fdbef782034d9e80300adb93dc6 | |
parent | 2fbb67add70e77ba7da388623064bb5a671ce349 (diff) | |
download | pleroma-7f649a7a19ae5f236dc21aaa11bb9a33c72dabbf.tar.gz pleroma-7f649a7a19ae5f236dc21aaa11bb9a33c72dabbf.zip |
Dialyzer: remove function that will never match
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex | 2 |
1 files 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 index 97d75ecf2..df4ba819c 100644 --- 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) |