From 28253c4e4aa7cb9c4c62b945150b6d393108b485 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Tue, 16 Feb 2021 09:27:40 -0600 Subject: [PATCH] Should be private --- lib/pleroma/upload/filter/heif_to_jpeg.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/upload/filter/heif_to_jpeg.ex b/lib/pleroma/upload/filter/heif_to_jpeg.ex index 7915bfbfb..ac81c354b 100644 --- a/lib/pleroma/upload/filter/heif_to_jpeg.ex +++ b/lib/pleroma/upload/filter/heif_to_jpeg.ex @@ -28,7 +28,7 @@ defmodule Pleroma.Upload.Filter.HeifToJpeg do def filter(_), do: {:ok, :noop} - def convert(tempfile) do + defp convert(tempfile) do # cannot save in place when changing format, so we have to use a tmp file # https://github.com/route/mogrify/issues/77 # also need a valid extension or it gets confused