1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-27 03:15:46 +01:00

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 @@ 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