[jdev] message type for status code messages in MUC

Peter Saint-Andre stpeter at jabber.org
Thu Jun 7 11:26:22 CDT 2007


hyperstruct - jdev wrote:
> 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?

I think that Example 154 should be type "groupchat" too (spec bug).

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: <https://www.jabber.org/jdev/attachments/20070607/f2eb8a1c/attachment-0002.bin>


More information about the JDev mailing list