From: Mark Felder Date: Thu, 27 Aug 2020 22:28:21 +0000 (-0500) Subject: Add a note about the avatars and banners situation X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5b4d483f522f470b9d2cdb7f43d98dde427a1241;p=akkoma Add a note about the avatars and banners situation --- diff --git a/lib/pleroma/web/media_proxy/media_proxy_controller.ex b/lib/pleroma/web/media_proxy/media_proxy_controller.ex index 7ac1a97e2..411dc95d0 100644 --- 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()