1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

add some brakets to the emoji list.

This commit is contained in:
scarlett 2019-01-05 17:35:39 +00:00
parent 0787f0dfbe
commit 3c86d907d4

View file

@ -124,7 +124,7 @@ def post(user, %{"status" => status} = data) do
Map.put(
object,
"emoji",
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}")
end)