diff options
author | Badlop <badlop@process-one.net> | 2022-05-04 17:16:51 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2022-05-04 18:01:46 +0200 |
commit | aa190ca8968eb11efd9674ad41cc21e638a05672 (patch) | |
tree | 300a67927fcc72b55d6650b2454c446b820601f0 | |
parent | Dependabot: Detect updates in docker, actions and mix (diff) |
Run 'make options'
-rw-r--r-- | src/ejabberd_option.erl | 2 | ||||
-rw-r--r-- | src/mod_muc_opt.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ejabberd_option.erl b/src/ejabberd_option.erl index 33e9f5738..29b5b40e8 100644 --- a/src/ejabberd_option.erl +++ b/src/ejabberd_option.erl @@ -370,7 +370,7 @@ disable_sasl_mechanisms() -> disable_sasl_mechanisms(Host) -> ejabberd_config:get_option({disable_sasl_mechanisms, Host}). --spec domain_balancing() -> #{binary()=>#{'component_number':=1..1114111, 'type'=>'bare_destination' | 'bare_source' | 'destination' | 'random' | 'source'}}. +-spec domain_balancing() -> #{binary()=>#{'component_number'=>1..1114111, 'type'=>'bare_destination' | 'bare_source' | 'destination' | 'random' | 'source'}}. domain_balancing() -> ejabberd_config:get_option({domain_balancing, global}). diff --git a/src/mod_muc_opt.erl b/src/mod_muc_opt.erl index 4b9e8b806..c22a9594d 100644 --- a/src/mod_muc_opt.erl +++ b/src/mod_muc_opt.erl @@ -86,7 +86,7 @@ db_type(Opts) when is_map(Opts) -> db_type(Host) -> gen_mod:get_module_opt(Host, mod_muc, db_type). --spec default_room_options(gen_mod:opts() | global | binary()) -> [{atom(),'anyone' | 'false' | 'moderators' | 'nobody' | 'true' | binary() | ['moderator' | 'participant' | 'visitor'] | pos_integer()}]. +-spec default_room_options(gen_mod:opts() | global | binary()) -> [{atom(),'anyone' | 'false' | 'moderators' | 'nobody' | 'true' | 'undefined' | binary() | ['moderator' | 'participant' | 'visitor'] | pos_integer() | tuple()}]. default_room_options(Opts) when is_map(Opts) -> gen_mod:get_opt(default_room_options, Opts); default_room_options(Host) -> |