Table 5-4. Presence <show> values

Value

Meaning

away

The user is available but temporarily away from the client.

chat

This is similar to the normal value but suggests that the user is open to conversation.

dnd

“Do not disturb.” Although online and available, the user doesn’t want to be disturbed by anyone. Don’t forget, unless the user is actually offline (unavailable or disconnected from the Jabber server), messages to that user will still be sent to the user immediately.

normal

This is the normal availability; there’s nothing really special about this qualification—the user is simply available. If no <show/> tag is specified in an available <presence/> element, a value of normal is assumed.

xa

This is an extreme form of the away value—xa stands for “extended away” and is probably as near to an unavailable presence as you can get.

Get Programming Jabber now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.