[jdev] [MUC] in-room sessions and Non-Anonymous

Bartosz Małkowski bmalkowski at tigase.pl
Tue Jun 11 16:38:32 UTC 2013


Hi

I have a problem.
Our MUC Component supports entering to room from many resources (the same bareJID) with the same nickname.
I don't know what should be sent in attribute jid of element <item/> when room is Non-Anonymous:
<presence
    from='coven at chat.shakespeare.lit/thirdwitch'
    id='17232D15-134F-43C8-9A29-61C20A64B236'
    to='crone1 at shakespeare.lit/desktop'>
  <x xmlns='http://jabber.org/protocol/muc#user'>
    <item affiliation='none'
          jid='hag66 at shakespeare.lit/pda'
          role='participant'/>
  </x>
</presence>

Let me explain:

To room joins:
a at b/1 and a at b/2 with nickname XXX.

1. New occupant joins to room, then MUC must send to him presence of occupant "XXX".
Which fullJID should be in attribute jid? Or maybe bareJID?
Or maybe two <item/> with both fulljids?
Or maybe two presences from XXX (with one <item/> element)?

2. a at b/1 change his presence. What MUC should send to all occupants: bareJID, fullJID of a at b/1, two <items/>?

Regards!

-- 
Bartosz Małkowski
Tigase Polska
xmpp:bmalkow at malkowscy.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2356 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20130611/21eff676/attachment.bin>


More information about the JDev mailing list