projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93789d
)
upload: use generic Document object type instead of Image (mastodon compatibility)
author
William Pitcock
<nenolod@dereferenced.org>
Tue, 17 Jul 2018 03:35:08 +0000
(
03:35
+0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Tue, 17 Jul 2018 03:40:45 +0000
(
03:40
+0000)
Mastodon does not use the object name as alt text when the object is an Image.
lib/pleroma/upload.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/upload.ex
b/lib/pleroma/upload.ex
index 43df0d418f193ff8e1dcb9a1856915dc8879ea20..92a89e2961b72e3d5a2364ed0677f93b6906d1fd 100644
(file)
--- 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",