comparison 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
comparison
equal deleted inserted replaced
19829:c590e780b3a0 19830:3b971c87279d
313 313
314 buddy =gaim_find_buddy(account,name); 314 buddy =gaim_find_buddy(account,name);
315 return GAIM_BUDDY_IS_ONLINE(buddy); 315 return GAIM_BUDDY_IS_ONLINE(buddy);
316 } 316 }
317 317
318 /*check to see if user is yahoo user?
319 * TODO: we need to identify it via contact parse
320 */
321 gboolean
322 msn_user_is_yahoo(GaimAccount *account ,const char *name)
323 {
324 return (strstr(name,"yahoo") != NULL);
325 }
326
318 void 327 void
319 msn_user_remove_group_id(MsnUser *user, const char * id) 328 msn_user_remove_group_id(MsnUser *user, const char * id)
320 { 329 {
321 g_return_if_fail(user != NULL); 330 g_return_if_fail(user != NULL);
322 g_return_if_fail(id != NULL); 331 g_return_if_fail(id != NULL);