Run 'make options'

pull/3532/merge
Badlop 5 months ago
parent 49ecddc646
commit aa190ca896
  1. 2
      src/ejabberd_option.erl
  2. 2
      src/mod_muc_opt.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}).

@ -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) ->

Loading…
Cancel
Save