mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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 "
|
<<"You need a client that supports x:data "
|
||||||
"to register the nickname">>)}]},
|
"to register the nickname">>)}]},
|
||||||
#xmlel{name = <<"x">>,
|
#xmlel{name = <<"x">>,
|
||||||
attrs = [{<<"xmlns">>, ?NS_XDATA}],
|
attrs = [{<<"xmlns">>, ?NS_XDATA},
|
||||||
|
{<<"type">>, <<"form">>}],
|
||||||
children =
|
children =
|
||||||
[#xmlel{name = <<"title">>, attrs = [],
|
[#xmlel{name = <<"title">>, attrs = [],
|
||||||
children =
|
children =
|
||||||
|
Loading…
Reference in New Issue
Block a user