[Pidgin] #8167: jabber_buddy_find_resource uses resource priorities inappropriately

Pidgin trac at pidgin.im
Sun Jan 18 20:10:57 EST 2009


#8167: jabber_buddy_find_resource uses resource priorities inappropriately
--------------------+-------------------------------------------------------
 Reporter:  fqueze  |     Owner:  deryni
     Type:  patch   |    Status:  new   
Component:  XMPP    |   Version:  2.5.4 
 Keywords:          |  
--------------------+-------------------------------------------------------
 The function jabber_buddy_find_resource returns the resource with the
 highest priority, and among the resources of the same priority the one
 with the highest availability.  This means that a jabber buddy with at
 least one available resource can be marked as unavailable in the buddy
 list.  From my reading of the spec, the priority should only be compared
 when the resources have the same availability and a resource with a
 negative priority should never be preferred.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8167>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list