Fix wrong return when finmoji is disabled

This commit is contained in:
href 2018-11-05 21:16:56 +01:00
parent 03702e4c4a
commit 83911b1443
No known key found for this signature in database
GPG key ID: EE8296C1A152C325

View file

@ -153,7 +153,7 @@ defmodule Pleroma.Emoji do
end)
end
defp load_finmoji(_), do: :ok
defp load_finmoji(_), do: []
defp load_from_file(file) do
if File.exists?(file) do