Fix emoji tags for shareable packs to be "pack:{name}"
This commit is contained in:
parent
118d6dcdf4
commit
1fd9c60f87
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue