Dialyzer: remove function that will never match
This commit is contained in:
parent
2fbb67add7
commit
7f649a7a19
@ -56,8 +56,6 @@ defmodule Pleroma.Web.ActivityPub.MRF.AntiFollowbotPolicy do
|
|||||||
nick_score + name_score + actor_type_score
|
nick_score + name_score + actor_type_score
|
||||||
end
|
end
|
||||||
|
|
||||||
defp determine_if_followbot(_), do: 0.0
|
|
||||||
|
|
||||||
defp bot_allowed?(%{"object" => target}, bot_actor) do
|
defp bot_allowed?(%{"object" => target}, bot_actor) do
|
||||||
%User{} = user = normalize_by_ap_id(target)
|
%User{} = user = normalize_by_ap_id(target)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user