Add a note about the avatars and banners situation
This commit is contained in:
parent
67c79394e8
commit
5b4d483f52
1 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,9 @@ defmodule Pleroma.Web.MediaProxy.MediaProxyController do
|
||||||
end
|
end
|
||||||
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
|
defp handle_preview("image/gif" = _content_type, conn, url) do
|
||||||
mediaproxy_url = url |> MediaProxy.url()
|
mediaproxy_url = url |> MediaProxy.url()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue