[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:
<message
    from='darkcave at macbeth.shakespeare.lit'
    to='hag66 at shakespeare.lit/pda'
    type='groupchat'>
  <body>This room is not anonymous.</body>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <status code='100'/>
  </x>
</message>
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'/>
  </x>
</message>
The former has type="groupchat" and the latter has (implicit)
type="normal".  Is this intended or one of the two is wrong?
Thanks,
Massimiliano
-- 
Massimiliano Mirra
http://hyperstruct.net
    
    
More information about the JDev
mailing list