From: Haelwenn (lanodan) Monnier Date: Tue, 1 May 2018 06:24:30 +0000 (+0200) Subject: lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: set visible_in_picker to... X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b143694b987e21f9172631b8e44084f6f8e6330a;p=akkoma 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 --- diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index 5fb51e8fa..3dd9aeb57 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -134,6 +134,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do %{ "shortcode" => shortcode, "static_url" => url, + "visible_in_picker" => true, "url" => url } end)