mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-28 11:35:19 +01:00
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:
parent
d93789dfde
commit
f10291a1d3
@ -19,7 +19,7 @@ defmodule Pleroma.Upload do
|
||||
end
|
||||
|
||||
%{
|
||||
"type" => "Image",
|
||||
"type" => "Document",
|
||||
"url" => [
|
||||
%{
|
||||
"type" => "Link",
|
||||
|
Loading…
Reference in New Issue
Block a user