(sigil xmpp presence)
(sigil xmpp presence) - XMPP Presence Tracking
Tracks presence information for contacts and provides convenience functions for managing own presence.
Exports
presence-infoprocedureConstruct a presence-info struct.
presence-info?procedureTest if a value is a presence-info struct.
presence-info-jidprocedureGet the jid field of a presence-info struct.
presence-info-showprocedureGet the show field of a presence-info struct.
presence-info-statusprocedureGet the status field of a presence-info struct.
presence-info-priorityprocedureGet the priority field of a presence-info struct.
xmpp-set-statusvariableSet own presence status.
(xmpp-set-status conn show: "away" status: "Be right back")xmpp-go-offlineprocedureGo offline (send unavailable presence and disconnect).
xmpp-presence-ofprocedureGet the cached presence info for a JID.
Returns a presence-info record or #f.
xmpp-resources-ofprocedureGet all available resources for a bare JID.
Returns a list of full JID strings that are currently available.