Mercurial > pidgin
comparison libgaim/protocols/oscar/oscar.c @ 15077:e02355d52752
[gaim-migrate @ 17862]
Don't attempt to check for new mail for screen names in the form
of email addresses. This fixes sf bug #1595188. It mail
checking currently works for @mac.com screen names then this
will break it (unfortunate side-effect).
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 01 Dec 2006 04:27:36 +0000 |
parents | 17e367667cbf |
children | d24de6319f87 |
comparison
equal
deleted
inserted
replaced
15076:7ca4a6820154 | 15077:e02355d52752 |
---|---|
3525 gaim_account_get_bool(account, "authorization", OSCAR_DEFAULT_AUTHORIZATION), | 3525 gaim_account_get_bool(account, "authorization", OSCAR_DEFAULT_AUTHORIZATION), |
3526 gaim_account_get_bool(account, "web_aware", OSCAR_DEFAULT_WEB_AWARE)); | 3526 gaim_account_get_bool(account, "web_aware", OSCAR_DEFAULT_WEB_AWARE)); |
3527 } | 3527 } |
3528 | 3528 |
3529 aim_reqservice(od, SNAC_FAMILY_CHATNAV); | 3529 aim_reqservice(od, SNAC_FAMILY_CHATNAV); |
3530 if (od->authinfo->email != NULL) | 3530 |
3531 /* | |
3532 * The "if" statement here is a pathetic attempt to not attempt to | |
3533 * connect to the alerts servce (aka email notification) if this | |
3534 * screen name does not support it. I think mail notification | |
3535 * works for @mac.com accounts but does not work for the newer | |
3536 * @anythingelse.com accounts. If that's true then this change | |
3537 * breaks mail notification for @mac.com accounts, but it gets rid | |
3538 * of an annoying error at signon for @anythingelse.com accounts. | |
3539 */ | |
3540 if ((od->authinfo->email != NULL) && ((strchr(gc->account->username, '@') == NULL))) | |
3531 aim_reqservice(od, SNAC_FAMILY_ALERT); | 3541 aim_reqservice(od, SNAC_FAMILY_ALERT); |
3532 | 3542 |
3533 return 1; | 3543 return 1; |
3534 } | 3544 } |
3535 | 3545 |