[ejabberd] MUC bug

Peter Saint-Andre stpeter at jabber.org
Mon Apr 16 22:33:16 MSD 2007


In ejabberd 1.1.2 or 1.1.3, MUC rooms do not properly handle 
invitations. For example if I try to send an invitation:

<message to="jdev at conference.jabber.org" id="aba4a" >
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="maineboy at jabber.org" />
</x>
</message>

Then I receive the following error:

<message from="jdev at conference.jabber.org" type="error" xml:lang="en" 
to="stpeter at jabber.org/wrk225" id="aba4a" >
<x xmlns="http://jabber.org/protocol/muc#user">
<invite to="maineboy at jabber.org" />
</x>
<error type="modify" code="406" >
<not-acceptable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">It is not allowed to 
send normal messages to the conference</text>
</error>
</message>

The spec does not say that invite messages need to be of type groupchat, 
in fact it says they MUST NOT have a type attribute:

http://www.xmpp.org/extensions/xep-0045.html#invite

So I think this is a bug in ejabberd's MUC implementation.

Peter

-- 
Peter Saint-Andre
XMPP Standards Foundation
http://www.xmpp.org/xsf/people/stpeter.shtml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7358 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20070416/e7a69571/attachment.bin 


More information about the ejabberd mailing list