[Pidgin Plugins] #444: List Handler - ICQ contacts import

Pidgin Plugins plugins-trac at guifications.org
Wed Dec 5 01:52:16 CST 2007


#444: List Handler - ICQ contacts import
-------------------------+--------------------------------------------------
  Reporter:  Jenda       |       Owner:  jbailey            
      Type:  Bugs        |      Status:  assigned           
  Priority:  4           |   Milestone:  PluginPack2.3.0    
 Component:  PluginPack  |     Version:  PluginPack2.2.0    
Resolution:              |    Keywords:  listhandler icq xml
   Pending:  1           |  
-------------------------+--------------------------------------------------
Changes (by jbailey):

  * keywords:  => listhandler icq xml
  * owner:  => jbailey
  * status:  new => assigned
  * pending:  0 => 1
  * milestone:  => PluginPack2.3.0

Comment:

 Listhandler calls all the functions to add the buddies to the server-side
 list as well as the local list.  That part of Pidgin and libpurple hasn't
 changed significantly since Gaim 1.0.0.  The relevant section of the code
 is this (comments added here in order to explain):
 {{{
 #!c
     /* These two lines make the information in the XML file
      * usable by libpurple */
     purple_buddy = purple_buddy_new(account, buddy, alias);
     node = (PurpleBlistNode *)purple_buddy;

     /* The first line here adds the buddy to the local buddy list
      * (important first step).  The second line adds the buddy to
      * the server buddy list. */
     purple_blist_add_buddy(purple_buddy, NULL, purple_group, NULL);
     purple_account_add_buddy(account, purple_buddy);
 }}}

 I'm going to bet that your entire ICQ buddy list--or very close to it--are
 people who require authorization for you to add them.  If this is the
 case, I believe those buddies don't appear server-side until authorization
 is granted (on this part I could be wrong as it's been a long time since I
 knew how ICQ actually works).  If this is not the case, then there is
 likely a bug in Pidgin's ICQ plugin--when I wrote listhandler, I tested
 with both AIM and ICQ, and it worked perfectly, but this was before AIM
 and ICQ were split into separate protocol entries.

 You can check to see if you're "awaiting authorization" by turning on
 Buddies->Show->Offline Buddies from Pidgin's Buddy List window.  Is this
 what's happening?

-- 
Ticket URL: <http://plugins.guifications.org/trac/ticket/444#comment:1>
Pidgin Plugins <http://pidgin.guifications.org/>
Plugins for the Instant Messaging client Pidgin and its backend library libpurple


More information about the Plugins-tickets mailing list