[Pidgin] #1653: Fetch and update Yahoo server-based aliases

Pidgin trac at pidgin.im
Tue Jun 12 20:59:38 EDT 2007


#1653: Fetch and update Yahoo server-based aliases
-------------------------+--------------------------------------------------
 Reporter:  johnmoody    |       Type:  patch
   Status:  new          |   Priority:  minor
Component:  libpurple    |    Version:  2.0.1
 Keywords:  yahoo alias  |    Pending:  0    
-------------------------+--------------------------------------------------
 The attached .c has two useful functions, 'yahoo_fetch_aliases' and
 'yahoo_update_alias'.  I am unsure what and when should make these calls
 and will leave that up to the senior guys.

 The libyahoo.dll that people are currently testing calls the
 'yahoo_fetch_aliases' function when the YAHOO_PING_SERVICE is received.
 This only happens once after the login process has completed and was the
 easiest to implement.  The 'yahoo_update_alias' is called when a user
 selects 'Get Info' against a buddy.  Both these locations were chosen as
 they were entirely within the yahoo code and didn't require touching
 'outside' source.

 ''''yahoo_fetch_aliases'''' applies aliases in the following order: Yahoo
 server stored nickname (if set) then combined Yahoo server stored
 firstname/lastname (if set).  If neither are on the Yahoo server, it
 leaves the local alias in place.  If it finds a local alias that is not on
 the Yahoo server, it pushes this to the Yahoo servers nickname field.

 ''''yahoo_update_alias'''' pushes the selected buddies alias to the Yahoo
 server, again utilizing the nickname field.

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


More information about the Tracker mailing list