mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
mod_matrix_gw: Fix support for @HOST@ in matrix_domain option (#4167)
This commit is contained in:
parent
aac0e782d0
commit
716f5de517
@ -860,7 +860,7 @@ depends(_Host, _Opts) ->
|
||||
mod_opt_type(host) ->
|
||||
econf:host();
|
||||
mod_opt_type(matrix_domain) ->
|
||||
econf:binary();
|
||||
econf:host();
|
||||
mod_opt_type(key_name) ->
|
||||
econf:binary();
|
||||
mod_opt_type(key) ->
|
||||
@ -875,7 +875,7 @@ mod_opt_type(persist) ->
|
||||
econf:bool().
|
||||
|
||||
mod_options(Host) ->
|
||||
[{matrix_domain, <<"@HOST@">>},
|
||||
[{matrix_domain, Host},
|
||||
{host, <<"matrix.", Host/binary>>},
|
||||
{key_name, <<"">>},
|
||||
{key, {<<"">>, <<"">>}},
|
||||
|
Loading…
Reference in New Issue
Block a user