After connecting to the openfire server with user 'username@localhost' I am trying to create a group chat instant room, so first I send the Presence Stanza as specified here :
<presence from='username@localhost' to='[email protected]' xmlns='jabber:client'>
<x xmlns='http://jabber.org/protocol/muc'></x>
</presence>
But the response is always an error:
<presence ... from='[email protected] type='error'>
<x xmlns='http://jabber.org/protocol/muc></x>
<error code='400' type='modify'>
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanza"></bad-request>
</error>
</presence>
Are there any configurations I have to do to Openfire to get this to work? I know you can create a Group Chat Room with the Openfire Gui, and that works fine, yet when I try to join that Chat Room I get the same exact error.