Merge remote-tracking branch 'upstream/develop' into feature/filter_exif
authorTristan Mahé <gled@remote-shell.net>
Fri, 20 Jul 2018 00:44:18 +0000 (17:44 -0700)
committerTristan Mahé <gled@remote-shell.net>
Fri, 20 Jul 2018 00:44:18 +0000 (17:44 -0700)
1  2 
config/config.exs
lib/pleroma/upload.ex

Simple merge
index dd2bbab9f44625166c29a3ded1e102c214770295,92a89e2961b72e3d5a2364ed0677f93b6906d1fd..408a3fc560e81958bdf0f19ce3aae85e814df273
@@@ -18,10 -18,8 +18,10 @@@ defmodule Pleroma.Upload d
        File.cp!(file.path, result_file)
      end
  
 +    strip_exif_data(content_type, result_file)
 +
      %{
-       "type" => "Image",
+       "type" => "Document",
        "url" => [
          %{
            "type" => "Link",