Add visible_in_picker to status emojis
authorshadowfacts <me@shadowfacts.net>
Mon, 10 Sep 2018 23:32:19 +0000 (23:32 +0000)
committershadowfacts <me@shadowfacts.net>
Mon, 10 Sep 2018 23:32:19 +0000 (23:32 +0000)
lib/pleroma/web/mastodon_api/views/status_view.ex

index 6962aa54f8cf1c36a68769ac8e928739c73166f7..cdae2de7abf9f9b3a73d3313b298a1a55aa155f3 100644 (file)
@@ -117,7 +117,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
           HtmlSanitizeEx.strip_tags(url)
           |> MediaProxy.url()
 
-        %{shortcode: name, url: url, static_url: url}
+        %{shortcode: name, url: url, static_url: url, visible_in_picker: false}
       end)
 
     %{