Fix incorrect multiple emoji tag handling introduced in initial impl
This commit is contained in:
parent
9bd5e2dec9
commit
52ed287e87
4 changed files with 10 additions and 11 deletions
|
|
@ -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