[ejabberd] Unexpected <instructions> element in MUC query response

Sreeni Nair sreeni.nair at gmail.com
Fri Oct 12 19:25:18 MSK 2012


I am trying to test one of our in-house developed XMPP clients against
ejabberd, and in the process, hitting an error while testing the MUC
feature. When the client queries thus:

<iq xmlns="jabber:client" from="
sreeni at ejabberd-demo.xyz.com/7682936991349980978997155" id="14" to="
0fde3abe8aaa7b19 at conference.ejabberd-demo.xyz.com" type="get">
  <query xmlns="http://jabber.org/protocol/muc#owner"></query>

the expected response from the server should be of the form (ref::

<xs:element name="query">
      <xs:choice minOccurs="0">
        <xs:element ref="xdata:x"/>
        <xs:element ref="destroy"/>

But what I am actually getting is given in the trace below:

<iq from='0fde3abe8aaa7b19 at conference.ejabberd-demo.xyz.com' to='
sreeni at ejabberd-demo.xyz.com/7682936991349980978997155' id='14'
  <query xmlns='http://jabber.org/protocol/muc#owner'>
    <instructions>You need an x:data capable client to configure
    <x xmlns='jabber:x:data' type='form'>
      <title>Configuration of room
0fde3abe8aaa7b19 at conference.ejabberd-demo.xyz.com</title>
      <field type='hidden' var='FORM_TYPE'>
      <field type='text-single' label='Room title'

The element <instructions> is clearly not expected. I don't know whether
this was discussed in the forum before, as I could not find it through a
search. If not, wouldn't this qualify as a bug in ejabberd?

Best Regards,

"Reality is frequently inaccurate."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20121012/c40c82c4/attachment.html>

More information about the ejabberd mailing list