Fix emoji tags for shareable packs to be "pack:{name}"
This commit is contained in:
parent
118d6dcdf4
commit
1fd9c60f87
@ -99,7 +99,7 @@ defmodule Pleroma.Emoji.Loader 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 New Issue
Block a user