[Pidgin] #2802: msimprpl implement prpl_info->normalize

Pidgin trac at pidgin.im
Sun Aug 26 20:44:58 EDT 2007


#2802: msimprpl implement prpl_info->normalize
-------------------------+--------------------------------------------------
 Reporter:  jeff         |       Owner:  jeff 
     Type:  enhancement  |      Status:  new  
 Priority:  minor        |   Milestone:       
Component:  libpurple    |     Version:  2.1.1
 Keywords:  msimprpl     |     Pending:  0    
-------------------------+--------------------------------------------------
 From libpurple/prpl.h:
 {{{
         /**
          *  Convert the username @a who to its canonical form.  (For
 example,
          *  AIM treats "fOo BaR" and "foobar" as the same user; this
 function
          *  should return the same normalized string for both of those.)
          */
         const char *(*normalize)(const PurpleAccount *, const char *who);
 }}}

 MySpaceIM treats 6221, tom, TOM, but not t o m (though you can change the
 spacing in your name, see #2789) as the same user. Perhaps normalize
 should lookup the username (if given a uid), lowercase it, remove spacing.
 This might make IM'ing 6221 and getting a reply back from tom work
 correctly (shown in the same conversation window, instead of separately as
 of now).

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


More information about the Tracker mailing list