remove io.inspects
This commit is contained in:
parent
c5467d04e4
commit
e724da2a42
5 changed files with 0 additions and 7 deletions
|
@ -135,7 +135,6 @@ defmodule Pleroma.Elasticsearch do
|
||||||
:skipped
|
:skipped
|
||||||
|
|
||||||
{:ok, %{body: body}} ->
|
{:ok, %{body: body}} ->
|
||||||
IO.inspect(body)
|
|
||||||
:skipped
|
:skipped
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -166,7 +165,6 @@ defmodule Pleroma.Elasticsearch do
|
||||||
:skipped
|
:skipped
|
||||||
|
|
||||||
{:ok, %{body: body}} ->
|
{:ok, %{body: body}} ->
|
||||||
IO.inspect(body)
|
|
||||||
:skipped
|
:skipped
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -196,7 +194,6 @@ defmodule Pleroma.Elasticsearch do
|
||||||
:skipped
|
:skipped
|
||||||
|
|
||||||
{:ok, %{body: body}} ->
|
{:ok, %{body: body}} ->
|
||||||
IO.inspect(body)
|
|
||||||
:skipped
|
:skipped
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -144,7 +144,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidator do
|
||||||
def validate(%{"type" => type} = object, meta)
|
def validate(%{"type" => type} = object, meta)
|
||||||
when type in ~w[Accept Reject Follow Update Like EmojiReact Announce
|
when type in ~w[Accept Reject Follow Update Like EmojiReact Announce
|
||||||
ChatMessage Answer] do
|
ChatMessage Answer] do
|
||||||
IO.inspect(object)
|
|
||||||
validator =
|
validator =
|
||||||
case type do
|
case type do
|
||||||
"Accept" -> AcceptRejectValidator
|
"Accept" -> AcceptRejectValidator
|
||||||
|
|
|
@ -73,7 +73,6 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.ArticleNotePageValidator do
|
||||||
else
|
else
|
||||||
{:error, e} ->
|
{:error, e} ->
|
||||||
Logger.error("Could not fetch replies for #{first}")
|
Logger.error("Could not fetch replies for #{first}")
|
||||||
IO.inspect(e)
|
|
||||||
Map.put(data, "replies", [])
|
Map.put(data, "replies", [])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -424,7 +424,6 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
|
||||||
} = data,
|
} = data,
|
||||||
options
|
options
|
||||||
) do
|
) do
|
||||||
IO.inspect(data)
|
|
||||||
data
|
data
|
||||||
|> Map.put("type", "EmojiReact")
|
|> Map.put("type", "EmojiReact")
|
||||||
|> Map.put("content", reaction)
|
|> Map.put("content", reaction)
|
||||||
|
|
|
@ -347,7 +347,6 @@ defmodule Pleroma.Web.ActivityPub.Utils do
|
||||||
%Activity{data: %{"content" => emoji, "actor" => actor}} = activity,
|
%Activity{data: %{"content" => emoji, "actor" => actor}} = activity,
|
||||||
object
|
object
|
||||||
) do
|
) do
|
||||||
IO.inspect(emoji)
|
|
||||||
reactions = get_cached_emoji_reactions(object)
|
reactions = get_cached_emoji_reactions(object)
|
||||||
emoji = stripped_emoji_name(emoji)
|
emoji = stripped_emoji_name(emoji)
|
||||||
new_reactions =
|
new_reactions =
|
||||||
|
|
Loading…
Reference in a new issue