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)
end end
defp load_finmoji(_), do: :ok defp load_finmoji(_), do: []
defp load_from_file(file) do defp load_from_file(file) do
if File.exists?(file) do if File.exists?(file) do