diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-07-17 03:36:11 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-07-17 03:40:46 +0000 |
commit | cd19d37a90cfceb8bafb380fd8ff8e5a765b7e3d (patch) | |
tree | 29820b627a5140ea7b5f2ce1500b1b08c98721b6 /lib | |
parent | f10291a1d322eed22ae594024c9d3d9011a7d5fe (diff) | |
download | pleroma-cd19d37a90cfceb8bafb380fd8ff8e5a765b7e3d.tar.gz |
mastodon api: use object name as alt text
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 4c20581d6..5dbd59dd9 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -169,7 +169,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do remote_url: href, preview_url: MediaProxy.url(href), text_url: href, - type: type + type: type, + description: attachment["name"] } end |