Previous: Chat printers, Up: Hacking and extending



16.7 Stanza chains

If you really need to get under the skin of jabber.el, you can add functions to the lists jabber-message-chain, jabber-iq-chain and jabber-presence-chain. The functions in these lists will be called in order when an XML stanza of the corresponding type arrives, with the entire XML stanza passed as the only argument. Earlier functions can modify the stanza to change the behaviour of downstream functions.