mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-12-29 19:05:19 +01:00
mastodon api: use object name as alt text
This commit is contained in:
parent
f10291a1d3
commit
cd19d37a90
@ -169,7 +169,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
|
|||||||
remote_url: href,
|
remote_url: href,
|
||||||
preview_url: MediaProxy.url(href),
|
preview_url: MediaProxy.url(href),
|
||||||
text_url: href,
|
text_url: href,
|
||||||
type: type
|
type: type,
|
||||||
|
description: attachment["name"]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user