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.
This commit is contained in:
William Pitcock 2018-07-17 03:35:08 +00:00
parent d93789dfde
commit f10291a1d3

View file

@ -19,7 +19,7 @@ defmodule Pleroma.Upload do
end
%{
"type" => "Image",
"type" => "Document",
"url" => [
%{
"type" => "Link",