Mercurial > pidgin
changeset 26942:7957a5ed53bb
Re-add purple_account_get_check_mail() check to oscar.
Accidentally removed in [5da8947a38c8e1b99e31f469da81fd097dc18827].
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 23 May 2009 18:20:44 +0000 |
parents | e8795ced8c9b |
children | 516c4a8b7658 c2cd559e034f |
files | libpurple/protocols/oscar/oscar.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c Sat May 23 17:42:34 2009 +0000 +++ b/libpurple/protocols/oscar/oscar.c Sat May 23 18:20:44 2009 +0000 @@ -3566,7 +3566,8 @@ alerturl = va_arg(ap, char *); va_end(ap); - if (account != NULL && emailinfo != NULL && emailinfo->unread && havenewmail) { + if (account != NULL && emailinfo != NULL && purple_account_get_check_mail(account) && + emailinfo->unread && havenewmail) { gchar *to = g_strdup_printf("%s%s%s", purple_account_get_username(account), emailinfo->domain ? "@" : "",