From 2033d7d4fc35f701440505f53502e57c8c55d6c1 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Fri, 29 Jul 2022 19:50:26 +0100 Subject: [PATCH] ensure extra info in fix_follow_state prints --- lib/mix/tasks/pleroma/user.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mix/tasks/pleroma/user.ex b/lib/mix/tasks/pleroma/user.ex index 8972d4cfb..d2d416655 100644 --- a/lib/mix/tasks/pleroma/user.ex +++ b/lib/mix/tasks/pleroma/user.ex @@ -496,12 +496,12 @@ def run(["fix_follow_state", local_user, remote_user]) do {:follow_data, Pleroma.Web.ActivityPub.Utils.fetch_latest_follow(local, remote)} do calculated_state = User.following?(local, remote) - shell_info( + IO.puts( "Request state is #{request_state}, vs calculated state of following=#{calculated_state}" ) if calculated_state == false && request_state == "accept" do - shell_info("Discrepancy found, fixing") + IO.puts("Discrepancy found, fixing") Pleroma.Web.CommonAPI.reject_follow_request(local, remote) shell_info("Relationship fixed") else