From: shadowfacts Date: Mon, 10 Sep 2018 23:32:19 +0000 (+0000) Subject: Add visible_in_picker to status emojis X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=39aed5348ab61a1f18d18f4fcb3981b558034100;p=akkoma Add visible_in_picker to status emojis --- 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 @@ 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) %{