Merge branch 'hotfix/rich-media-compile-error' into 'develop'

RichMedia: fix a compilation error due to nonexistent variable

See merge request pleroma/pleroma!2996
This commit is contained in:
rinpatch 2020-09-14 12:48:27 +00:00
commit 6e70415e4a

View File

@ -39,7 +39,7 @@ defp get_cached_or_parse(url) do
{:error, :body_too_large} = e -> {:error, :body_too_large} = e ->
e e
{:error, {:content_type, _}} -> {:error, {:content_type, _}} = e ->
e e
# The TTL is not set for the errors above, since they are unlikely to change # The TTL is not set for the errors above, since they are unlikely to change