diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-07-17 03:35:08 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-07-17 03:40:45 +0000 |
commit | f10291a1d322eed22ae594024c9d3d9011a7d5fe (patch) | |
tree | 91c5f935c0425c660c1a71abc0a627eec9b9db74 /lib | |
parent | d93789dfde3c44c76a56732088a897ddddfe9716 (diff) | |
download | pleroma-f10291a1d322eed22ae594024c9d3d9011a7d5fe.tar.gz |
upload: use generic Document object type instead of Image (mastodon compatibility)
Mastodon does not use the object name as alt text when the object is an Image.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/upload.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index 43df0d418..92a89e296 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -19,7 +19,7 @@ defmodule Pleroma.Upload do end %{ - "type" => "Image", + "type" => "Document", "url" => [ %{ "type" => "Link", |