pleroma: mrf: remove debug messages
This commit is contained in:
parent
ce16c504cf
commit
b194b0ce8f
@ -36,9 +36,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.ForceBotUnlistedPolicy do
|
||||
user = User.get_cached_by_ap_id(actor)
|
||||
isbot = 0.8 < botness_score(user)
|
||||
|
||||
IO.puts user.nickname
|
||||
IO.puts isbot
|
||||
IO.puts botness_score(user)
|
||||
#IO.puts user.nickname
|
||||
#IO.puts isbot
|
||||
#IO.puts botness_score(user)
|
||||
|
||||
if isbot and Enum.member?(to, Pleroma.Constants.as_public()) do
|
||||
to = List.delete(to, Pleroma.Constants.as_public()) ++ [user.follower_address]
|
||||
|
Loading…
Reference in New Issue
Block a user