1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-16 21:26:34 +01:00

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

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,