Use the image thumbnail for rich metadata (OGP/Twittercards)

This commit is contained in:
Mark Felder 2020-08-22 15:12:11 -05:00
parent edde0d9b54
commit 98f8851f29

View File

@ -38,7 +38,7 @@ defmodule Pleroma.Web.Metadata.Utils do
def scrub_html(content), do: content def scrub_html(content), do: content
def attachment_url(url) do def attachment_url(url) do
MediaProxy.url(url) MediaProxy.preview_url(url)
end end
def user_name_string(user) do def user_name_string(user) do