From: Maksim Date: Tue, 25 Aug 2020 05:38:25 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b267b751d451508bd655142a4711776ea15484f4;p=akkoma Apply 1 suggestion(s) to 1 file(s) --- diff --git a/lib/pleroma/emoji/pack.ex b/lib/pleroma/emoji/pack.ex index dd79bdfab..930bbb422 100644 --- a/lib/pleroma/emoji/pack.ex +++ b/lib/pleroma/emoji/pack.ex @@ -74,7 +74,7 @@ defmodule Pleroma.Emoji.Pack do shortcode <- Path.basename(filename, Path.extname(filename)), false <- Emoji.exist?(shortcode) ) do - acc ++ [%{path: path, filename: path, shortcode: shortcode}] + [%{path: path, filename: path, shortcode: shortcode} | acc] else _ -> acc end