mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-09 16:55:26 +00:00
Dialyzer: remove function that will never match
This commit is contained in:
parent
2fbb67add7
commit
7f649a7a19
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue