Commit 78047d57 authored by kaniini's avatar kaniini

mastodon api: provider_name setting is required too on the card

parent 39863236
......@@ -1337,6 +1337,7 @@ def get_status_card(status_id) do
rich_media
|> Map.take([:image, :title, :url, :description])
|> Map.put(:type, "link")
|> Map.put(:provider_name, rich_media.site_name)
else
_ -> %{}
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment