diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-05-01 08:24:30 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-06-03 18:41:18 +0200 |
commit | b143694b987e21f9172631b8e44084f6f8e6330a (patch) | |
tree | 198e41b8a845150cf823135df96be3995a4334e2 /lib | |
parent | 9d054d30bce383437b6bb07c869047f1cb8e164f (diff) | |
download | pleroma-b143694b987e21f9172631b8e44084f6f8e6330a.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/mastodon_api_controller.ex | 1 |
1 files changed, 1 insertions, 0 deletions
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) |