7. Offline users

If user affiliation is marked as persistent (which can be done using admin ad-hoc commands), 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.

7.1. 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='[email protected]/pda'
    id='n13mt3l'
    to='[email protected]/[email protected]'>
  <x xmlns='http://jabber.org/protocol/muc'/>
</presence>

7.2. Messages

Room members marked as persistent are able to send message to room, when they not in room. Message will be treated as sent from online user, and delivered to all occupants.

All groupchat messages will be also sent to offline members if they are marked as persistent.