pleroma: mrf: remove debug messages

This commit is contained in:
a1batross 2020-04-01 02:25:43 +02:00
parent ce16c504cf
commit b194b0ce8f

View File

@ -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]