Merge branch 'rework-emoji-management' into 'develop'
Remove finmoji and add a way to download emojis in packs Closes #817 and #821 See merge request pleroma/pleroma!1073
This commit is contained in:
commit
7fcbda702e
144 changed files with 422 additions and 127 deletions
|
|
@ -190,7 +190,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||
"static_url" => url,
|
||||
"visible_in_picker" => true,
|
||||
"url" => url,
|
||||
"tags" => String.split(tags, ",")
|
||||
"tags" => tags
|
||||
}
|
||||
end)
|
||||
end
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
emoji =
|
||||
Emoji.get_all()
|
||||
|> Enum.map(fn {short_code, path, tags} ->
|
||||
{short_code, %{image_url: path, tags: String.split(tags, ",")}}
|
||||
{short_code, %{image_url: path, tags: tags}}
|
||||
end)
|
||||
|> Enum.into(%{})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue