[OTR-dev] how to play nice with gaim-otr

Ian Goldberg ian at cypherpunks.ca
Mon Jun 20 13:53:10 EDT 2005


On Mon, Jun 20, 2005 at 11:15:13AM -0600, David Everly wrote:
> Any ideas regarding how I should alter this plugin to make it work with
> gaim-otr?

What problems are you seeing now?  gaim unfortunately has only a basic
architecture for plugins to intercept messages; there's no way (that I
know of) to specify the *order* the plugins are called, so it's hard to
predict whether your plugin will be called before or after gaim-otr.

Also, IIRC, when plugins send messages via the serv_send_im() interface,
they don't go through the plugin chain at all, so the "question" message
your plugin sends will have no opportunity to get encrypted by gaim-otr
(if you use that interface).

   - Ian



More information about the OTR-dev mailing list