mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 18:49:15 +00:00
Use the image thumbnail for rich metadata (OGP/Twittercards)
This commit is contained in:
parent
edde0d9b54
commit
98f8851f29
|
@ -38,7 +38,7 @@ def scrub_html(content) when is_binary(content) 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
|
||||
|
|
Loading…
Reference in a new issue