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