lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: set visible_in_picker to true in custom_emojis

Fixes: https://github.com/ilianaw/emojos.in/issues/4
Closes: https://git.pleroma.social/pleroma/pleroma/issues/177
Closes: https://git.pleroma.social/pleroma/mastofe/issues/16
This commit is contained in:
Haelwenn (lanodan) Monnier 2018-05-01 08:24:30 +02:00
parent 9d054d30bc
commit b143694b98
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -134,6 +134,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
%{ %{
"shortcode" => shortcode, "shortcode" => shortcode,
"static_url" => url, "static_url" => url,
"visible_in_picker" => true,
"url" => url "url" => url
} }
end) end)