sigildocs

(sigil xmpp presence)

(sigil xmpp presence) - XMPP Presence Tracking

Tracks presence information for contacts and provides convenience functions for managing own presence.

Exports

presence-infoprocedure

Construct a presence-info struct.

Test if a value is a presence-info struct.

Get the jid field of a presence-info struct.

Get the show field of a presence-info struct.

Get the status field of a presence-info struct.

Get the priority field of a presence-info struct.

Set own presence status.

(xmpp-set-status conn show: "away" status: "Be right back")

Go offline (send unavailable presence and disconnect).

Get the cached presence info for a JID.

Returns a presence-info record or #f.

Get all available resources for a bare JID.

Returns a list of full JID strings that are currently available.