forked from mirrors/akkoma
Use the image thumbnail for rich metadata (OGP/Twittercards)
This commit is contained in:
parent
edde0d9b54
commit
98f8851f29
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue