mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
Result of running "make options"
This commit is contained in:
parent
642e7ecc29
commit
512285e48d
@ -330,7 +330,7 @@ cache_size() ->
|
||||
cache_size(Host) ->
|
||||
ejabberd_config:get_option({cache_size, Host}).
|
||||
|
||||
-spec captcha_cmd() -> any().
|
||||
-spec captcha_cmd() -> 'undefined' | binary().
|
||||
captcha_cmd() ->
|
||||
ejabberd_config:get_option({captcha_cmd, global}).
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
-export([key_name/1]).
|
||||
-export([matrix_domain/1]).
|
||||
-export([matrix_id_as_jid/1]).
|
||||
-export([persist/1]).
|
||||
|
||||
-spec host(gen_mod:opts() | global | binary()) -> binary().
|
||||
host(Opts) when is_map(Opts) ->
|
||||
@ -16,7 +15,7 @@ host(Opts) when is_map(Opts) ->
|
||||
host(Host) ->
|
||||
gen_mod:get_module_opt(Host, mod_matrix_gw, host).
|
||||
|
||||
-spec key(gen_mod:opts() | global | binary()) -> any().
|
||||
-spec key(gen_mod:opts() | global | binary()) -> {binary(),binary()}.
|
||||
key(Opts) when is_map(Opts) ->
|
||||
gen_mod:get_opt(key, Opts);
|
||||
key(Host) ->
|
||||
@ -40,9 +39,3 @@ matrix_id_as_jid(Opts) when is_map(Opts) ->
|
||||
matrix_id_as_jid(Host) ->
|
||||
gen_mod:get_module_opt(Host, mod_matrix_gw, matrix_id_as_jid).
|
||||
|
||||
-spec persist(gen_mod:opts() | global | binary()) -> boolean().
|
||||
persist(Opts) when is_map(Opts) ->
|
||||
gen_mod:get_opt(persist, Opts);
|
||||
persist(Host) ->
|
||||
gen_mod:get_module_opt(Host, mod_matrix_gw, persist).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user