projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fetcher: Correctly return MRF reject reason
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
mrf
/
anti_followbot_policy.ex
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 0270b96ae06c5cb8a8727cc0c76b0430022c90ae..b96388489170b4e5c385817f8473aaa4d0cc425c 100644
(file)
--- a/
lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex
+++ b/
lib/pleroma/web/activity_pub/mrf/anti_followbot_policy.ex
@@
-60,7
+60,7
@@
defmodule Pleroma.Web.ActivityPub.MRF.AntiFollowbotPolicy do
if score < 0.8 do
{:ok, message}
else
if score < 0.8 do
{:ok, message}
else
- {:reject,
nil
}
+ {:reject,
"[AntiFollowbotPolicy] Scored #{actor_id} as #{score}"
}
end
end
end
end