[Pidgin] #2752: libpurple lets you add buddies to blist inside groups that aren't on blist; leads to duplicate groups

Pidgin trac at pidgin.im
Fri Aug 24 01:07:00 EDT 2007


#2752: libpurple lets you add buddies to blist inside groups that aren't on blist;
leads to duplicate groups
------------------------+---------------------------------------------------
  Reporter:  jeff       |       Owner:  sadrul  
      Type:  defect     |      Status:  new     
  Priority:  trivial    |   Milestone:          
 Component:  libpurple  |     Version:  2.1.1   
Resolution:             |    Keywords:  msimprpl
   Pending:  0          |  
------------------------+---------------------------------------------------
Changes (by jeff):

  * owner:  jeff => sadrul
  * status:  assigned => new

Comment:

 sadrul, do you think this is a good way to do it?

 I verified that the above patch causes an assertion failure if
 purple_blist_add_buddy() is called with a group that hasn't been
 purple_blist_add_group()'d, and that it has no effect if the group has
 been added. This should prevent plugin writers (like me) from making
 mistakes with the libpurple API.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/2752#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list