Merge branch 'patch-3' into 'develop'

Add visible_in_picker to status emojis

See merge request pleroma/pleroma!342
This commit is contained in:
Haelwenn 2018-09-12 18:01:11 +00:00
commit 90661e20cf
2 changed files with 3 additions and 2 deletions

View File

@ -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)
%{

View File

@ -47,7 +47,8 @@ test "a note activity" do
%{
shortcode: "2hu",
url: "corndog.png",
static_url: "corndog.png"
static_url: "corndog.png",
visible_in_picker: false
}
]
}