Mercurial > pidgin
diff src/protocols/msn/user.c @ 19830:3b971c87279d
[gaim-migrate @ 17056]
fix the bug to send Yahoo User offline Message
committed by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
author | Ma Yuan <mayuan2006@gmail.com> |
---|---|
date | Sun, 27 Aug 2006 10:34:17 +0000 |
parents | c590e780b3a0 |
children | 5568b3ac6fce |
line wrap: on
line diff
--- a/src/protocols/msn/user.c Sun Aug 27 08:03:32 2006 +0000 +++ b/src/protocols/msn/user.c Sun Aug 27 10:34:17 2006 +0000 @@ -315,6 +315,15 @@ return GAIM_BUDDY_IS_ONLINE(buddy); } +/*check to see if user is yahoo user? + * TODO: we need to identify it via contact parse + */ +gboolean +msn_user_is_yahoo(GaimAccount *account ,const char *name) +{ + return (strstr(name,"yahoo") != NULL); +} + void msn_user_remove_group_id(MsnUser *user, const char * id) {