From: rinpatch Date: Mon, 14 Sep 2020 12:48:27 +0000 (+0000) Subject: Merge branch 'hotfix/rich-media-compile-error' into 'develop' X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=eff7f9892dbb042a447fd83e1ce5e9cb69941cf6;p=akkoma Merge branch 'hotfix/rich-media-compile-error' into 'develop' RichMedia: fix a compilation error due to nonexistent variable See merge request pleroma/pleroma!2996 --- diff --git a/lib/pleroma/web/rich_media/parser.ex b/lib/pleroma/web/rich_media/parser.ex index 49ba22c90..569249f51 100644 --- a/lib/pleroma/web/rich_media/parser.ex +++ b/lib/pleroma/web/rich_media/parser.ex @@ -34,7 +34,7 @@ defmodule Pleroma.Web.RichMedia.Parser do {:error, :body_too_large} = e -> e - {:error, {:content_type, _}} -> + {:error, {:content_type, _}} = e -> e # The TTL is not set for the errors above, since they are unlikely to change