From 39aed5348ab61a1f18d18f4fcb3981b558034100 Mon Sep 17 00:00:00 2001 From: shadowfacts Date: Mon, 10 Sep 2018 23:32:19 +0000 Subject: [PATCH] Add visible_in_picker to status emojis --- lib/pleroma/web/mastodon_api/views/status_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 6962aa54f..cdae2de7a 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -117,7 +117,7 @@ def render("status.json", %{activity: %{data: %{"object" => object}} = activity} 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) %{