Next: Listening for new requests, Previous: XML representation, Up: Hacking and extending
JIDs are sometimes represented as symbols. Its name is the JID, and it is interned
in jabber-jid-obarray
. A roster entry can have the following
properties:
xml
name
subscription
"none"
, "from"
,
"to"
and "both"
ask
nil
or "subscribe"
groups
connected
show
""
(i.e. online), "away"
, "xa"
,
"dnd"
, "chat"
, "error"
and nil
(i.e. offline)
status
resources
connected
, show
, status
and
priority
.
Incoming presence information is inserted in resources
, and the
information from the resource with the highest priority is inserted in
show
and status
by the function
jabber-prioritize-resources
.