commit: 98f8851f29f940051656caa1715820bce70f8c29
parent edde0d9b54b45a366ecdec01e9826f1ee8d1dc3a
Author: Mark Felder <feld@FreeBSD.org>
Date: Sat, 22 Aug 2020 15:12:11 -0500
Use the image thumbnail for rich metadata (OGP/Twittercards)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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