lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: set visible_in_picker to...
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Tue, 1 May 2018 06:24:30 +0000 (08:24 +0200)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Sun, 3 Jun 2018 16:41:18 +0000 (18:41 +0200)
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
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex

index 5fb51e8fa323b36d4bf43ad5a3fbe592a9e309e0..3dd9aeb5797987814beaadc0ffc129ce707896b9 100644 (file)
@@ -134,6 +134,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
       %{
         "shortcode" => shortcode,
         "static_url" => url,
       %{
         "shortcode" => shortcode,
         "static_url" => url,
+        "visible_in_picker" => true,
         "url" => url
       }
     end)
         "url" => url
       }
     end)