| 293 g = gaim_group_new(group_name); |
300 g = gaim_group_new(group_name); |
| 294 gaim_blist_add_group(g, NULL); |
301 gaim_blist_add_group(g, NULL); |
| 295 } |
302 } |
| 296 |
303 |
| 297 b = gaim_find_buddy_in_group(account, passport, g); |
304 b = gaim_find_buddy_in_group(account, passport, g); |
| 298 |
|
| 299 if (b == NULL){ |
305 if (b == NULL){ |
| 300 b = gaim_buddy_new(account, passport, NULL); |
306 b = gaim_buddy_new(account, passport, NULL); |
| 301 |
|
| 302 gaim_blist_add_buddy(b, NULL, g, NULL); |
307 gaim_blist_add_buddy(b, NULL, g, NULL); |
| 303 } |
308 } |
| 304 |
|
| 305 b->proto_data = user; |
309 b->proto_data = user; |
| |
310 /*Update the blist Node info*/ |
| |
311 // gaim_blist_node_set_string(&(b->node), "", ""); |
| 306 } |
312 } |
| 307 |
313 |
| 308 /*check if the msn user is online*/ |
314 /*check if the msn user is online*/ |
| 309 gboolean |
315 gboolean |
| 310 msn_user_is_online(GaimAccount *account, const char *name) |
316 msn_user_is_online(GaimAccount *account, const char *name) |