From b194b0ce8f2df14e74a3872c05d0867ab700860b Mon Sep 17 00:00:00 2001 From: a1batross Date: Wed, 1 Apr 2020 02:25:43 +0200 Subject: [PATCH] pleroma: mrf: remove debug messages --- .../web/activity_pub/mrf/force_bot_unlisted_policy.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy.ex b/lib/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy.ex index 2bad06276..e34643cb8 100644 --- a/lib/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/force_bot_unlisted_policy.ex @@ -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]