Fix wrong return when finmoji is disabled
This commit is contained in:
parent
03702e4c4a
commit
83911b1443
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user