remove io.inspects
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 8 Jun 2022 11:58:12 +0000 (12:58 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Wed, 8 Jun 2022 11:58:12 +0000 (12:58 +0100)
lib/pleroma/elasticsearch/store.ex
lib/pleroma/web/activity_pub/object_validator.ex
lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex
lib/pleroma/web/activity_pub/transmogrifier.ex
lib/pleroma/web/activity_pub/utils.ex

index cc2de6fcfe10c6e7bfe320084846e838fd315e7e..8e3b6a4f4f920bd6d39f1d8dd09c15ddb1fc8d70 100644 (file)
@@ -135,7 +135,6 @@ defmodule Pleroma.Elasticsearch do
         :skipped
 
       {:ok, %{body: body}} ->
-        IO.inspect(body)
         :skipped
     end
   end
@@ -166,7 +165,6 @@ defmodule Pleroma.Elasticsearch do
         :skipped
 
       {:ok, %{body: body}} ->
-        IO.inspect(body)
         :skipped
     end
   end
@@ -196,7 +194,6 @@ defmodule Pleroma.Elasticsearch do
         :skipped
 
       {:ok, %{body: body}} ->
-        IO.inspect(body)
         :skipped
     end
   end
index 867c945b0a4b1f3980fb561afc9c02cd9e0378a8..187cd0cfd6010145ef6c1f2ed4fedaf0082d871e 100644 (file)
@@ -144,7 +144,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidator do
   def validate(%{"type" => type} = object, meta)
       when type in ~w[Accept Reject Follow Update Like EmojiReact Announce
       ChatMessage Answer] do
-    IO.inspect(object)
     validator =
       case type do
         "Accept" -> AcceptRejectValidator
index 016929da0b1d09fc4a2e4392b6e8f26d6fb143ce..e5aafbd654364a029a9d62e1f4237ba0846bcf0f 100644 (file)
@@ -73,7 +73,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidator do
     else
       {:error, e} ->
         Logger.error("Could not fetch replies for #{first}")
-        IO.inspect(e)
         Map.put(data, "replies", [])
     end
   end
index f5a7866b675884e4ef8a22a4040878ada6a3710e..25aaba1a6a947cb6aa4a9e4cbd39b1fcccc24d46 100644 (file)
@@ -424,7 +424,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
         } = data,
         options
       ) do
-    IO.inspect(data)
     data
     |> Map.put("type", "EmojiReact")
     |> Map.put("content", reaction)
index 9c68d800f4a4ff5f99fdd286108a45ccacb737fb..83bb8a552a4ed6da55fb3e3f7d9dfcd0321049f8 100644 (file)
@@ -347,7 +347,6 @@ defmodule Pleroma.Web.ActivityPub.Utils do
         %Activity{data: %{"content" => emoji, "actor" => actor}} = activity,
         object
       ) do
-    IO.inspect(emoji)
     reactions = get_cached_emoji_reactions(object)
     emoji = stripped_emoji_name(emoji)
     new_reactions =