aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mod_muc.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mod_muc.erl b/src/mod_muc.erl
index fe8d4f95e..b844a01e0 100644
--- a/src/mod_muc.erl
+++ b/src/mod_muc.erl
@@ -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 =