Fix emoji tags for shareable packs to be "pack:{name}"
authorEkaterina Vaartis <vaartis@cock.li>
Tue, 24 Sep 2019 19:20:48 +0000 (22:20 +0300)
committerEkaterina Vaartis <vaartis@cock.li>
Wed, 25 Sep 2019 10:34:03 +0000 (12:34 +0200)
lib/pleroma/emoji/loader.ex

index a29de0a33a152ee9e72efc42f70843ce2d598ea2..4f4ee51d1345e1b17efb6aaf841466f36d8b18b7 100644 (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