Merge branch 'patch-3' into 'develop'
Add visible_in_picker to status emojis See merge request pleroma/pleroma!342
This commit is contained in:
commit
90661e20cf
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
%{
|
||||
|
|
|
@ -47,7 +47,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
|
|||
%{
|
||||
shortcode: "2hu",
|
||||
url: "corndog.png",
|
||||
static_url: "corndog.png"
|
||||
static_url: "corndog.png",
|
||||
visible_in_picker: false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue