projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edde0d9
)
Use the image thumbnail for rich metadata (OGP/Twittercards)
author
Mark Felder
<feld@FreeBSD.org>
Sat, 22 Aug 2020 20:12:11 +0000
(15:12 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Sat, 22 Aug 2020 20:12:11 +0000
(15:12 -0500)
lib/pleroma/web/metadata/utils.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/metadata/utils.ex
b/lib/pleroma/web/metadata/utils.ex
index 2f0dfb474b16e8d1780d15bb6e606be4922b4378..8a206e019a35808b40a52287a17c4f6f6fba8682 100644
(file)
--- 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