mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
mod_matrix_gw: Remove useless option "persist"
This commit is contained in:
parent
ce5a8acaf7
commit
642e7ecc29
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue