projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118d6dc
)
Fix emoji tags for shareable packs to be "pack:{name}"
author
Ekaterina Vaartis
<vaartis@cock.li>
Tue, 24 Sep 2019 19:20:48 +0000
(22:20 +0300)
committer
Ekaterina Vaartis
<vaartis@cock.li>
Wed, 25 Sep 2019 10:34:03 +0000
(12:34 +0200)
lib/pleroma/emoji/loader.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/emoji/loader.ex
b/lib/pleroma/emoji/loader.ex
index a29de0a33a152ee9e72efc42f70843ce2d598ea2..4f4ee51d1345e1b17efb6aaf841466f36d8b18b7 100644
(file)
--- a/
lib/pleroma/emoji/loader.ex
+++ b/
lib/pleroma/emoji/loader.ex
@@
-99,7
+99,7
@@
defmodule Pleroma.Emoji.Loader do
contents["files"]
|> Enum.map(fn {name, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file)
- {name, filename,
pack_name
}
+ {name, filename,
["pack:#{pack_name}"]
}
end)
else
# Load from emoji.txt / all files