From 5d924313507bcf7032f3460531da920f123d83c1 Mon Sep 17 00:00:00 2001 From: href Date: Fri, 30 Nov 2018 11:35:10 +0100 Subject: [PATCH] Fix deprecation warnings --- lib/pleroma/upload.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index f2607b603..a298ab488 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -110,9 +110,9 @@ defmodule Pleroma.Upload do Logger.warn(""" Pleroma: configuration `:instance, :strip_exif` is deprecated, please instead set: - :instance, Pleroma.Upload, [filters: [Pleroma.Upload.Filter.Mogrify]] + :pleroma, Pleroma.Upload, [filters: [Pleroma.Upload.Filter.Mogrify]] - :pleroma, Pleroma.Upload.Mogrify, args: "strip" + :pleroma, Pleroma.Upload.Filter.Mogrify, args: "strip" """) Pleroma.Config.put([Pleroma.Upload.Filter.Mogrify], args: "strip") @@ -127,7 +127,7 @@ defmodule Pleroma.Upload do Logger.warn(""" Pleroma: configuration `:instance, :dedupe_media` is deprecated, please instead set: - :instance, Pleroma.Upload, [filters: [Pleroma.Upload.Filter.Dedupe]] + :pleroma, Pleroma.Upload, [filters: [Pleroma.Upload.Filter.Dedupe]] """) Map.put(opts, :filters, opts.filters ++ [Pleroma.Upload.Filter.Dedupe]) -- 2.45.2