libpurple / find active conversations

Cedric Roche csced at hotmail.com
Wed Jul 8 11:06:07 EDT 2009


I just want to send messages. If a PurpleConversation is already open between the two buddies, I want to use the existing one and not create a new one.
I want to loop over the buddy list in order to use purple_find_conversation_with_account.

I'm sorry I have  trouble to understand libpurple.

Thx


> Date: Wed, 8 Jul 2009 10:52:23 -0400
> From: pidgin at unreliablesource.net
> To: csced at hotmail.com
> CC: devel at pidgin.im
> Subject: Re: libpurple / find active conversations
> 
> On Wed, Jul 08, 2009 at 03:51:26PM +0200, Cedric Roche wrote:
> >
> > Hi,
> >
> > I need to know the best way to find all active conversation in order to not open a new one when sending a message. I found the function purple_find_conversation_with_account, where the name and the account arguments seems to be the the name and account of a PurpleBuddy structure (please, correct me if I'm wrong). So my guess is that I could do that by exploring the entire buddy list but my question is, is there a better way to do that ?
> >
> > Thx
> 
> What are you trying to do exactly? Why do you need to know if any random
> conversation already exists? What would looping over the buddy list help
> you determine?
> 
>     -Etan

_________________________________________________________________
Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? Lancez-vous !
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://pidgin.im/pipermail/devel/attachments/20090708/5db7809c/attachment.html>


More information about the Devel mailing list