projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Webfinger: Handle bogus ids better.
[akkoma]
/
lib
/
pleroma
/
emoji
/
pack.ex
diff --git
a/lib/pleroma/emoji/pack.ex
b/lib/pleroma/emoji/pack.ex
index 787ff8141772f3738cb7c041ce789a1ff6d82ad1..d076ae3125c5318815dba7d59042862c9f1399e8 100644
(file)
--- a/
lib/pleroma/emoji/pack.ex
+++ b/
lib/pleroma/emoji/pack.ex
@@
-45,6
+45,7
@@
defmodule Pleroma.Emoji.Pack do
shortcodes =
pack.files
|> Map.keys()
+ |> Enum.sort()
|> paginate(opts[:page], opts[:page_size])
pack = Map.put(pack, :files, Map.take(pack.files, shortcodes))