@@ -626,8 +626,7 @@ function install_xmpp_main {
systemctl restart prosody
- sleep 5
-
+ cd
prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD"
if [ ! "$?" = "0" ]; then
echo ''