25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix cond_options with new options

This commit is contained in:
Christophe Romain 2019-03-11 16:58:26 +01:00
parent e921b43754
commit 946baa972d

View File

@ -62,7 +62,11 @@ defmodule Ejabberd.Mixfile do
end end
defp cond_options do defp cond_options do
for {:true, option} <- [{config(:graphics), {:d, :GRAPHICS}}], do: for {:true, option} <- [{config(:sip), {:d, :SIP}},
{config(:stun), {:d, :STUN}},
{config(:roster_gateway_workaround), {:d, :ROSTER_GATWAY_WORKAROUND}},
{config(:new_sql_schema), {:d, :NEW_SQL_SCHEMA}}
], do:
option option
end end