Mercurial > pidgin
comparison src/protocols/msn/notification.c @ 5364:379beab3d157
[gaim-migrate @ 5740]
If you have MSN Mobile support, you can now enable or disable it from the
Protocol Actions menu.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Tue, 13 May 2003 08:36:36 +0000 |
parents | ebebc833cf77 |
children | fa0217bec87e |
comparison
equal
deleted
inserted
replaced
5363:ebebc833cf77 | 5364:379beab3d157 |
---|---|
444 | 444 |
445 user = msn_users_find_with_passport(session->users, passport); | 445 user = msn_users_find_with_passport(session->users, passport); |
446 | 446 |
447 if (value != NULL) { | 447 if (value != NULL) { |
448 if (!strcmp(type, "MOB")) { | 448 if (!strcmp(type, "MOB")) { |
449 if (!strcmp(value, "Y")) { | 449 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) { |
450 gaim_debug(GAIM_DEBUG_MISC, "msn", | 450 if (GAIM_BUDDY_IS_ONLINE(b)) { |
451 "%s has a pager\n", passport); | 451 if (!strcmp(value, "Y")) |
452 if ((b = gaim_find_buddy(gc->account, passport)) != NULL) { | 452 status = (b->uc | (1 << 5)); |
453 status = b->uc | (1 << 5); | 453 else if (!strcmp(value, "N")) |
454 status = (b->uc ^ (1 << 5)); | |
454 | 455 |
455 serv_got_update(gc, (char *)passport, 1, 0, 0, 0, status); | 456 serv_got_update(gc, (char *)passport, 1, 0, 0, 0, status); |
456 } | 457 } |
457 } | 458 } |
458 } | 459 } |