Return an empty map from Pleroma.Web.RichMedia.Parsers.OGP.parse/2

This commit is contained in:
Egor Kislitsyn 2020-06-12 18:37:32 +04:00
parent 697cf92024
commit 09d31d24de
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805
1 changed files with 2 additions and 7 deletions

View File

@ -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