mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-04 15:43:11 +00:00
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
|
@ -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