projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14ec12a
)
Apply 1 suggestion(s) to 1 file(s)
author
Maksim
<parallel588@gmail.com>
Tue, 25 Aug 2020 05:38:25 +0000
(
05:38
+0000)
committer
Maksim
<parallel588@gmail.com>
Tue, 25 Aug 2020 05:38:25 +0000
(
05:38
+0000)
lib/pleroma/emoji/pack.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/emoji/pack.ex
b/lib/pleroma/emoji/pack.ex
index dd79bdfab1917e31cd12eb277b3c4e5dbc9fdf93..930bbb4221b37b79df42910235a61eb85033020f 100644
(file)
--- a/
lib/pleroma/emoji/pack.ex
+++ b/
lib/pleroma/emoji/pack.ex
@@
-74,7
+74,7
@@
defmodule Pleroma.Emoji.Pack do
shortcode <- Path.basename(filename, Path.extname(filename)),
false <- Emoji.exist?(shortcode)
) do
-
acc ++ [%{path: path, filename: path, shortcode: shortcode}
]
+
[%{path: path, filename: path, shortcode: shortcode} | acc
]
else
_ -> acc
end