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

David Everly deckrider at gmail.com
Mon Jun 20 18:55:52 EDT 2005

Unfortunately in my case there is not yet a conversation, since
gaim_find_conversation_with_account(*sender, account) == NULL

The scenario is that a stranger is sending me an IM for the first time,
and my plugin needs to send a few messages to the stranger without
opening a conversation (more or less like pop-up suppression).

If the stranger answers the question correctly, then a conversation is
created.  However, the issue at hand is the time before a conversation
is created.

On Mon, Jun 20, 2005 at 05:13:12PM -0500, Evan Schoenberg wrote:
> On Jun 20, 2005, at 4:00 PM, Ian Goldberg wrote:
> >I haven't tested this at all, but you could try using
> >gaim_conv_im_send() instead; that function seems to let the plugins do
> >their work.
> Right, I don't think anything external to the gaim core should ever  
> call serv_send_im().  gaim_conv_im_send() and gaim_conv_chat_send()  
> are the way to fly.
> -Evan

Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20050620/5790e9e0/attachment.pgp>

More information about the OTR-dev mailing list