From: Egor Kislitsyn Date: Fri, 12 Jun 2020 14:37:32 +0000 (+0400) Subject: Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=09d31d24de568aac06fe203beeb8bb2a9de8f602;p=akkoma Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2 --- diff --git a/lib/pleroma/web/rich_media/parsers/ogp.ex b/lib/pleroma/web/rich_media/parsers/ogp.ex index 363815f81..b3b3b059c 100644 --- a/lib/pleroma/web/rich_media/parsers/ogp.ex +++ b/lib/pleroma/web/rich_media/parsers/ogp.ex @@ -4,12 +4,7 @@ defmodule Pleroma.Web.RichMedia.Parsers.OGP do @deprecated "OGP parser is deprecated. Use TwitterCard instead." - def parse(html, data) do - Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse( - data, - html, - "og", - "property" - ) + def parse(_html, _data) do + %{} end end