Formatting
This commit is contained in:
parent
0d6265cfe2
commit
ba19ba8a88
@ -132,8 +132,8 @@ defmodule Pleroma.Emoji do
|
|||||||
"No emoji.txt found for pack \"#{pack_name}\", assuming all .png files are emoji"
|
"No emoji.txt found for pack \"#{pack_name}\", assuming all .png files are emoji"
|
||||||
)
|
)
|
||||||
|
|
||||||
make_shortcode_to_file_map(pack_dir, [".png"]) |>
|
make_shortcode_to_file_map(pack_dir, [".png"])
|
||||||
Enum.map(fn {shortcode, rel_file} ->
|
|> Enum.map(fn {shortcode, rel_file} ->
|
||||||
filename = Path.join("/emoji/#{pack_name}", rel_file)
|
filename = Path.join("/emoji/#{pack_name}", rel_file)
|
||||||
|
|
||||||
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
|
{shortcode, filename, [to_string(match_extra(@groups, filename))]}
|
||||||
|
Loading…
Reference in New Issue
Block a user