commit: 5b4d483f522f470b9d2cdb7f43d98dde427a1241
parent 67c79394e81cf9f5404afad29a397acf32dece33
Author: Mark Felder <feld@FreeBSD.org>
Date: Thu, 27 Aug 2020 17:28:21 -0500
Add a note about the avatars and banners situation
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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()