mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Define the types of options that opt_type.sh cannot derive automatically
This commit is contained in:
parent
3d9a5a1635
commit
ce5a8acaf7
@ -491,6 +491,7 @@ opt_type(jwt_auth_only_rule) ->
|
||||
{c2s_protocol_options, undefined | binary()} |
|
||||
{s2s_ciphers, undefined | binary()} |
|
||||
{c2s_ciphers, undefined | binary()} |
|
||||
{captcha_cmd, undefined | binary()} |
|
||||
{websocket_origin, [binary()]} |
|
||||
{disable_sasl_mechanisms, [binary()]} |
|
||||
{s2s_zlib, boolean()} |
|
||||
|
@ -873,6 +873,9 @@ mod_opt_type(matrix_id_as_jid) ->
|
||||
mod_opt_type(persist) ->
|
||||
econf:bool().
|
||||
|
||||
-spec mod_options(binary()) -> [{key, {binary(), binary()}} |
|
||||
{atom(), any()}].
|
||||
|
||||
mod_options(Host) ->
|
||||
[{matrix_domain, Host},
|
||||
{host, <<"matrix.", Host/binary>>},
|
||||
|
Loading…
Reference in New Issue
Block a user