aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pleroma/emoji.ex10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pleroma/emoji.ex b/lib/pleroma/emoji.ex
index 6f9bd3eda..071c7f6cd 100644
--- a/lib/pleroma/emoji.ex
+++ b/lib/pleroma/emoji.ex
@@ -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