src/protocols/msn/notification.c

changeset 8255
187d01c945ea
parent 8175
4e79974d452c
child 8475
3b5687726055
equal deleted inserted replaced
8254:3b3d86ef983b 8255:187d01c945ea
664 664
665 user = msn_users_find_with_passport(session->users, passport); 665 user = msn_users_find_with_passport(session->users, passport);
666 666
667 if (value != NULL) { 667 if (value != NULL) {
668 if (!strcmp(type, "MOB")) { 668 if (!strcmp(type, "MOB")) {
669 if (!strcmp(value, "Y")) { 669 if (!strcmp(value, "Y") || !strcmp(value, "N")) {
670 user->mobile = TRUE; 670 user->mobile = (!strcmp(value, "Y") ? TRUE : FALSE);
671 671
672 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) { 672 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) {
673 if (GAIM_BUDDY_IS_ONLINE(b)) { 673 if (GAIM_BUDDY_IS_ONLINE(b)) {
674 serv_got_update(gc, (char *)passport, 674 serv_got_update(gc, (char *)passport,
675 1, 0, 0, 0, b->uc); 675 1, 0, 0, 0, b->uc);

mercurial