Chapter 6. Offline users

Table of Contents

Entering the room
Messages

If user affiliation is marked as persistent, MUC delivers presence to occupants in name of offline user. MUC generates presence with extended away info:

<presence from="…" to="…">
    <show>xa</show>
</presence

This presence is sent to occupants, when user goes offline and when persistent occupant is added to room (but he is offline). If persistent user if online in room, then MUC sens real presence of occupant.

Entering the room

Important

When user is joining to room, he MUST use his BareJID as room nickname!

Example of entering to room. 

<presence
    from='hag66@shakespeare.lit/pda'
    id='n13mt3l'
    to='coven@chat.shakespeare.lit/hag66@shakespeare.lit'>
  <x xmlns='http://jabber.org/protocol/muc'/>
</presence>