Add a note about the avatars and banners situation

This commit is contained in:
Mark Felder 2020-08-27 17:28:21 -05:00
parent 67c79394e8
commit 5b4d483f52
1 changed files with 3 additions and 0 deletions

View File

@ -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()