From: Mark Felder Date: Sat, 22 Aug 2020 20:12:11 +0000 (-0500) Subject: Use the image thumbnail for rich metadata (OGP/Twittercards) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=98f8851f29f940051656caa1715820bce70f8c29;p=akkoma Use the image thumbnail for rich metadata (OGP/Twittercards) --- diff --git a/lib/pleroma/web/metadata/utils.ex b/lib/pleroma/web/metadata/utils.ex index 2f0dfb474..8a206e019 100644 --- a/lib/pleroma/web/metadata/utils.ex +++ b/lib/pleroma/web/metadata/utils.ex @@ -38,7 +38,7 @@ defmodule Pleroma.Web.Metadata.Utils do def scrub_html(content), do: content def attachment_url(url) do - MediaProxy.url(url) + MediaProxy.preview_url(url) end def user_name_string(user) do