mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
mod_matrix_gw: Remove useless option "persist"
This commit is contained in:
parent
ce5a8acaf7
commit
642e7ecc29
@ -869,8 +869,6 @@ mod_opt_type(key) ->
|
|||||||
crypto:generate_key(eddsa, ed25519, Key2)
|
crypto:generate_key(eddsa, ed25519, Key2)
|
||||||
end;
|
end;
|
||||||
mod_opt_type(matrix_id_as_jid) ->
|
mod_opt_type(matrix_id_as_jid) ->
|
||||||
econf:bool();
|
|
||||||
mod_opt_type(persist) ->
|
|
||||||
econf:bool().
|
econf:bool().
|
||||||
|
|
||||||
-spec mod_options(binary()) -> [{key, {binary(), binary()}} |
|
-spec mod_options(binary()) -> [{key, {binary(), binary()}} |
|
||||||
@ -881,8 +879,7 @@ mod_options(Host) ->
|
|||||||
{host, <<"matrix.", Host/binary>>},
|
{host, <<"matrix.", Host/binary>>},
|
||||||
{key_name, <<"">>},
|
{key_name, <<"">>},
|
||||||
{key, {<<"">>, <<"">>}},
|
{key, {<<"">>, <<"">>}},
|
||||||
{matrix_id_as_jid, false},
|
{matrix_id_as_jid, false}].
|
||||||
{persist, false}].
|
|
||||||
|
|
||||||
mod_doc() ->
|
mod_doc() ->
|
||||||
#{desc =>
|
#{desc =>
|
||||||
|
Loading…
Reference in New Issue
Block a user