libpurple / find active conversations

Etan Reisner pidgin at unreliablesource.net
Wed Jul 8 10:52:23 EDT 2009


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




More information about the Devel mailing list