mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Make sure x:data form possesses 'type' attribute
This commit is contained in:
parent
fda73c3d16
commit
ac2ba399a9
@ -914,7 +914,8 @@ iq_get_register_info(ServerHost, Host, From, Lang) ->
|
||||
<<"You need a client that supports x:data "
|
||||
"to register the nickname">>)}]},
|
||||
#xmlel{name = <<"x">>,
|
||||
attrs = [{<<"xmlns">>, ?NS_XDATA}],
|
||||
attrs = [{<<"xmlns">>, ?NS_XDATA},
|
||||
{<<"type">>, <<"form">>}],
|
||||
children =
|
||||
[#xmlel{name = <<"title">>, attrs = [],
|
||||
children =
|
||||
|
Loading…
Reference in New Issue
Block a user