1
0
Fork 0
forked from mirrors/akkoma

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

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