mastodon api: use object name as alt text

This commit is contained in:
William Pitcock 2018-07-17 03:36:11 +00:00
parent f10291a1d3
commit cd19d37a90

View file

@ -169,7 +169,8 @@ def render("attachment.json", %{attachment: attachment}) do
remote_url: href,
preview_url: MediaProxy.url(href),
text_url: href,
type: type
type: type,
description: attachment["name"]
}
end