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
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ defp load_pack(pack_dir, emoji_groups) do
contents["files"] contents["files"]
|> Enum.map(fn {name, rel_file} -> |> Enum.map(fn {name, rel_file} ->
filename = Path.join("/emoji/#{pack_name}", rel_file) filename = Path.join("/emoji/#{pack_name}", rel_file)
{name, filename, pack_name} {name, filename, ["pack:#{pack_name}"]}
end) end)
else else
# Load from emoji.txt / all files # Load from emoji.txt / all files