From: FloatingGhost Date: Wed, 8 Jun 2022 11:58:12 +0000 (+0100) Subject: remove io.inspects X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e724da2a42b974d2b9a610f31ba8d0d3378de955;p=akkoma remove io.inspects --- diff --git a/lib/pleroma/elasticsearch/store.ex b/lib/pleroma/elasticsearch/store.ex index cc2de6fcf..8e3b6a4f4 100644 --- a/lib/pleroma/elasticsearch/store.ex +++ b/lib/pleroma/elasticsearch/store.ex @@ -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 diff --git a/lib/pleroma/web/activity_pub/object_validator.ex b/lib/pleroma/web/activity_pub/object_validator.ex index 867c945b0..187cd0cfd 100644 --- a/lib/pleroma/web/activity_pub/object_validator.ex +++ b/lib/pleroma/web/activity_pub/object_validator.ex @@ -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 diff --git a/lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex b/lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex index 016929da0..e5aafbd65 100644 --- a/lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex +++ b/lib/pleroma/web/activity_pub/object_validators/article_note_page_validator.ex @@ -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 diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index f5a7866b6..25aaba1a6 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -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) diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index 9c68d800f..83bb8a552 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -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 =