Fix emoji tags for shareable packs to be "pack:{name}"

This commit is contained in:
Ekaterina Vaartis 2019-09-24 22:20:48 +03:00
parent 118d6dcdf4
commit 1fd9c60f87

View file

@ -99,7 +99,7 @@ defp load_pack(pack_dir, emoji_groups) 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