From: William Pitcock Date: Tue, 17 Jul 2018 03:35:08 +0000 (+0000) Subject: upload: use generic Document object type instead of Image (mastodon compatibility) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f10291a1d322eed22ae594024c9d3d9011a7d5fe;p=akkoma 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. --- 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",