Next: Debug options, Previous: Customizing alerts, Up: Customization
jabber.el provides various hooks that you can use for whatever purpose.
jabber-post-connect-hooks
jabber-send-current-presence
(see Presence). The hook functions get the connection object as
argument.
jabber-lost-connection-hooks
The hook is called with one argument: the connection object.
jabber-pre-disconnect-hook
jabber-disconnect
, the command to disconnect all accounts. There
is currently no hook for disconnection of a single account.
jabber-post-disconnect-hook
jabber-lost-connection-hook
.
jabber-chat-mode-hook
jabber-browse-mode-hook
jabber-roster-mode-hook