Deprecate Pleroma.Web.RichMedia.Parsers.OGP

This commit is contained in:
Egor Kislitsyn 2020-06-11 23:11:46 +04:00
parent 1f35acce54
commit 2419776e19
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805
1 changed files with 1 additions and 0 deletions

View File

@ -3,6 +3,7 @@
# SPDX-License-Identifier: AGPL-3.0-only
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,