projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67c7939
)
Add a note about the avatars and banners situation
author
Mark Felder
<feld@FreeBSD.org>
Thu, 27 Aug 2020 22:28:21 +0000
(17:28 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Thu, 27 Aug 2020 22:28:21 +0000
(17:28 -0500)
lib/pleroma/web/media_proxy/media_proxy_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/media_proxy/media_proxy_controller.ex
b/lib/pleroma/web/media_proxy/media_proxy_controller.ex
index 7ac1a97e2edf20d42f686c223aaee6825bf7087a..411dc95d08a7d60eede624d5f63f5b730348b57b 100644
(file)
--- a/
lib/pleroma/web/media_proxy/media_proxy_controller.ex
+++ b/
lib/pleroma/web/media_proxy/media_proxy_controller.ex
@@
-67,6
+67,9
@@
defmodule Pleroma.Web.MediaProxy.MediaProxyController do
end
end
+ # TODO: find a workaround so avatar_static and banner_static can work.
+ # Those only permit GIFs for animation, so we have to permit a way to
+ # allow those to get real static variants.
defp handle_preview("image/gif" = _content_type, conn, url) do
mediaproxy_url = url |> MediaProxy.url()