ensure extra info in fix_follow_state prints
[akkoma] / lib / mix / tasks / pleroma / user.ex
index 8972d4cfb927d60ac2aa51e0a98493571e310cfa..d2d41665521744d11bcc212bcea243e32a2f1508 100644 (file)
@@ -496,12 +496,12 @@ defmodule Mix.Tasks.Pleroma.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