Mercurial > pidgin.yaz
diff libpurple/protocols/myspace/myspace.h @ 22100:1226083ed7e2
Implement prpl_info->normalize for msimprpl, modified patch from Jaywalker.
This makes buddy names treated the same regardless of case and spacing. It
also allows user IDs to be normalized into usernames, _if_ the user is on
the buddy list (making it work in the general case is #4631).
This allows you to IM 6221 and have a conversion with 'tom' instead of his
number. Closes #2802.
mtn: beginning commit on branch 'im.pidgin.pidgin'
mtn: misuse: empty log message; commit canceled
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 14 Jan 2008 02:06:47 +0000 |
parents | dee0c2dc1a85 |
children | 0b823f16162c |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.h Sat Jan 12 14:44:12 2008 +0000 +++ b/libpurple/protocols/myspace/myspace.h Mon Jan 14 02:06:47 2008 +0000 @@ -201,6 +201,8 @@ void msim_add_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group); void msim_remove_buddy(PurpleConnection *gc, PurpleBuddy *buddy, PurpleGroup *group); +const char *msim_normalize(const PurpleAccount *account, const char *str); + gboolean msim_offline_message(const PurpleBuddy *buddy); void msim_close(PurpleConnection *gc);