aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadowfacts <me@shadowfacts.net>2018-09-10 23:32:19 +0000
committershadowfacts <me@shadowfacts.net>2018-09-10 23:32:19 +0000
commit39aed5348ab61a1f18d18f4fcb3981b558034100 (patch)
treeb01b1b0a76901faa2f77a813ff74047ecf654278
parentda3f93054392447638d4bc558fae0969e6a9bbf9 (diff)
downloadpleroma-39aed5348ab61a1f18d18f4fcb3981b558034100.tar.gz
Add visible_in_picker to status emojis
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex2
1 files changed, 1 insertions, 1 deletions
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)
%{