Skip to content
Snippets Groups Projects
Commit ba19ba8a authored by vaartis's avatar vaartis
Browse files

Formatting

parent 0d6265cf
No related branches found
No related tags found
No related merge requests found
......@@ -132,12 +132,12 @@ defmodule Pleroma.Emoji do
"No emoji.txt found for pack \"#{pack_name}\", assuming all .png files are emoji"
)
make_shortcode_to_file_map(pack_dir, [".png"]) |>
Enum.map(fn {shortcode, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file)
make_shortcode_to_file_map(pack_dir, [".png"])
|> Enum.map(fn {shortcode, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file)
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
end)
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
end)
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment