logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 2ed7003c26c68cb8c1b2061435df17430287f243
parent: 7daa9a8c42272e0f1fd0ac3af31e0cf131d86219
Author: kaniini <nenolod@gmail.com>
Date:   Sun, 24 Feb 2019 19:03:58 +0000

Merge branch 'trivial/remove-io-inspect-spam' into 'develop'

twitter card: remove IO.inspect() spam

See merge request pleroma/pleroma!863

Diffstat:

Mlib/pleroma/web/metadata/twitter_card.ex4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lib/pleroma/web/metadata/twitter_card.ex b/lib/pleroma/web/metadata/twitter_card.ex @@ -66,9 +66,7 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCard do end end - defp build_attachments(id, z = %{data: %{"attachment" => attachments}}) do - IO.puts(inspect(z)) - + defp build_attachments(id, %{data: %{"attachment" => attachments}}) do Enum.reduce(attachments, [], fn attachment, acc -> rendered_tags = Enum.reduce(attachment["url"], [], fn url, acc ->