[Pidgin] #4052: extra 'buddy-status-changed' signals

Pidgin trac at pidgin.im
Sat Dec 22 18:16:23 EST 2007


#4052: extra 'buddy-status-changed' signals
-------------------------+--------------------------------------------------
  Reporter:  andy753421  |       Owner:  MarkDoliner 
      Type:  defect      |      Status:  new         
  Priority:  minor       |   Milestone:              
 Component:  AIM         |     Version:  2.2.2       
Resolution:              |    Keywords:  oscar status
   Pending:  0           |  
-------------------------+--------------------------------------------------
Comment (by tmm1):

 Uploaded libpurple-oscar.patch

 '''aim_locate_adduserinfo:'''
   * clear userinfo->away regardless of AIM_FLAG_AWAY, since away message
 is already copied into the PurpleStatus. this was causing old away
 messages to show up in buddy-updated callbacks

 '''purple_parse_oncoming:'''
   * only set info->status if the buddy is available, since status is the
 "available" message. if the buddy is away, set a NULL message and wait for
 an infoblock packet to arrive with the actual "away" message (info->away)

 '''purple_got_infoblock:'''
   * trigger buddy-updated signals/callbacks only if away message was
 provided
   * use purple_prpl_got_user_status instead of purple_status_set_attr so
 that all matching buddies are updated instead of just the first matching
 buddy on the list

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


More information about the Tracker mailing list