From: rinpatch Date: Tue, 15 Jan 2019 09:11:07 +0000 (+0300) Subject: add a fallback function X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2858fd2da217e172dcc0f664f21bfc8d81dce452;p=akkoma add a fallback function --- diff --git a/lib/pleroma/web/metadata.ex b/lib/pleroma/web/metadata.ex index b7052eec1..8591db6b5 100644 --- a/lib/pleroma/web/metadata.ex +++ b/lib/pleroma/web/metadata.ex @@ -57,7 +57,9 @@ defmodule Pleroma.Web.Metadata do ] end end - + defp opengraph_tags(_) do + [] + end def to_tag(data) do with {name, attrs, _content = []} <- data do HTML.Tag.tag(name, attrs)