Hi,
I'm using jabber-net and ejabberd 2.1.10
When I try to join a MUC, that is password protected, with the following query
<presence to="myroom@conference.server/me">
<x xmlns="http://jabber.org/protocol/muc">
<password>password</password>
</x>
</presence>
I get the following error stanza
<presence from="myroom@conference.server/me" to="me@server/SERVER" type="error">
<error type="auth" code="401">
<not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">A password is required to enter this room</text>
</error>
</presence>
I do later receive presence stanzas telling me I successfully joined the room. The problem is that because I get that auth/401 error, my client thinks I failed to join the room and gets into a bad state.
Is there a different way to join a password protected room so that I do not get that error?