[OTR-dev] how to play nice with gaim-otr
David Everly
deckrider at gmail.com
Mon Jun 20 19:14:11 EDT 2005
On Mon, Jun 20, 2005 at 06:07:57PM -0500, Evan Schoenberg wrote:
> Ick. Gaim's core offers no way to create a GaimConv without
> triggering the UI op for it. It seems like this is a split which
> would need to be done coreside; the conversation should be created
> before any of the plugin triggers are made.
Sorry for being dense....but I assume that you mean for working with
existing gaim-1.3.1, there is currently no other option for my plugin?
Or is this some course of action I can take in the plugin (and need help
to understand)?
> On Jun 20, 2005, at 5:55 PM, David Everly wrote:
>
> >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
> >
>
--
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/1d685fb7/attachment.pgp>
More information about the OTR-dev
mailing list