pidgin: 97fbf033: Re-add purple_account_get_check_mail() c...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sat May 23 14:25:36 EDT 2009


-----------------------------------------------------------------
Revision: 97fbf033d9afea69a6eabaac94698b3c051584cf
Ancestor: e9f99205e2aa5bfe910cae91f59b23d9e7d77095
Author: darkrain42 at pidgin.im
Date: 2009-05-23T18:20:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/97fbf033d9afea69a6eabaac94698b3c051584cf

Modified files:
        libpurple/protocols/oscar/oscar.c

ChangeLog: 

Re-add purple_account_get_check_mail() check to oscar.

Accidentally removed in [5da8947a38c8e1b99e31f469da81fd097dc18827].

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.c	0cea4ff7eefc8f09a7a2e875a4057d43dfe48ed8
+++ libpurple/protocols/oscar/oscar.c	de6af754e596084f4a344b0f64e1d1cf7148d75d
@@ -3566,7 +3566,8 @@ static int purple_email_parseupdate(Osca
 	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 ? "@" : "",


More information about the Commits mailing list