Commit 3c86d907 authored by scarlett's avatar scarlett
Browse files

add some brakets to the emoji list.

parent 0787f0df
......@@ -124,7 +124,7 @@ def post(user, %{"status" => status} = data) do
Formatter.get_emoji(status) ++ Formatter.get_emoji(data["spoiler_text"])
(Formatter.get_emoji(status) ++ Formatter.get_emoji(data["spoiler_text"]))
|> Enum.reduce(%{}, fn {name, file}, acc ->
Map.put(acc, name, "#{Pleroma.Web.Endpoint.static_url()}#{file}")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment