Enable dedupe by default
authorrinpatch <rinpatch@sdf.org>
Fri, 15 Mar 2019 09:11:13 +0000 (12:11 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 15 Mar 2019 09:11:13 +0000 (12:11 +0300)
config/config.exs
config/test.exs

index f889e3259f4568384982a460afcbfd54f4aa5e4c..326c4b601388732cf951a6555ad6f0c94dc1fd1e 100644 (file)
@@ -34,7 +34,7 @@ config :pleroma, Pleroma.Captcha.Kocaptcha, endpoint: "https://captcha.kotobank.
 # Upload configuration
 config :pleroma, Pleroma.Upload,
   uploader: Pleroma.Uploaders.Local,
-  filters: [],
+  filters: [Pleroma.Upload.Filter.Dedupe],
   link_name: true,
   proxy_remote: false,
   proxy_opts: [
index a3f36c9e169ff142ca00e14a588de81e8eb27712..3691e5bd1070af80c04b8bcf260adf47074b9d57 100644 (file)
@@ -17,7 +17,7 @@ config :pleroma, Pleroma.Captcha,
 # Print only warnings and errors during test
 config :logger, level: :warn
 
-config :pleroma, Pleroma.Upload, link_name: false
+config :pleroma, Pleroma.Upload, filters: [], link_name: false
 
 config :pleroma, Pleroma.Uploaders.Local, uploads: "test/uploads"