Mercurial > pidgin
diff src/protocols/msn/user.c @ 19823:1b6c631012d9
[gaim-migrate @ 17034]
middle version for oim send
not stable,don't use it!
committed by MaYuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
| author | Ma Yuan <mayuan2006@gmail.com> |
|---|---|
| date | Sat, 26 Aug 2006 03:25:00 +0000 |
| parents | 2e078c892e0b |
| children | c590e780b3a0 |
line wrap: on
line diff
--- a/src/protocols/msn/user.c Thu Aug 24 16:38:30 2006 +0000 +++ b/src/protocols/msn/user.c Sat Aug 26 03:25:00 2006 +0000 @@ -298,6 +298,16 @@ b->proto_data = user; } +/*check if the msn user is online*/ +gboolean +msn_user_is_online(GaimAccount *account, const char *name) +{ + GaimBuddy *buddy; + + buddy =gaim_find_buddy(account,name); + return GAIM_BUDDY_IS_ONLINE(buddy); +} + void msn_user_remove_group_id(MsnUser *user, const char * id) {
