mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 02:29:34 +02:00
Have consistent schema type in misc:uri_parse
This commit is contained in:
parent
bc9e5c5363
commit
3d4f2d365f
2 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ mod_opt_type(via) ->
|
|||
fun(URI) ->
|
||||
{ok, Type, Host, Port, _, _} =
|
||||
misc:uri_parse(URI),
|
||||
{Type, {unicode:characters_to_binary(Host), Port}}
|
||||
{list_to_atom(Type), {unicode:characters_to_binary(Host), Port}}
|
||||
end))(U)
|
||||
end, [unique]).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue