add a fallback function
authorrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 09:11:07 +0000 (12:11 +0300)
committerrinpatch <rinpatch@sdf.org>
Tue, 15 Jan 2019 09:11:07 +0000 (12:11 +0300)
lib/pleroma/web/metadata.ex

index b7052eec1b517aae57d03e8ed5fd3c9fbf34bc7f..8591db6b584bb312b267b5808cfd6ba03366d379 100644 (file)
@@ -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)