[jdev] message type for status code messages in MUC

hyperstruct - jdev iolgzc102 at sneakemail.com
Thu Jun 7 06:40:36 CDT 2007

MUCs signal some events to occupants via <message/>.  XEP-0045 says,
in http://www.xmpp.org/extensions/xep-0045.html#enter-nonanon:

    from='darkcave at macbeth.shakespeare.lit'
    to='hag66 at shakespeare.lit/pda'
  <body>This room is not anonymous.</body>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <status code='100'/>

Later, in http://www.xmpp.org/extensions/xep-0045.html#roomconfig-notify,
it says:

<message from='darkcave at macbeth.shakespeare.lit'
         to='crone1 at shakespeare.lit/desktop'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <status code='170'/>

The former has type="groupchat" and the latter has (implicit)
type="normal".  Is this intended or one of the two is wrong?


Massimiliano Mirra

More information about the JDev mailing list