changeset 20443:45e3739de7fd

Don't notify for initial email messages unless the preference is set for the account.
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 27 May 2007 21:15:06 +0000
parents a1c6206f0205
children a0d104281002
files libpurple/protocols/msn/oim.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/oim.c	Sun May 27 21:13:37 2007 +0000
+++ b/libpurple/protocols/msn/oim.c	Sun May 27 21:15:06 2007 +0000
@@ -532,7 +532,7 @@
 	INode = xmlnode_get_child(ENode, "IU");
 	unread = xmlnode_get_data(INode);
 
-	if (unread != NULL)
+	if (unread != NULL && purple_account_get_check_mail(session->account))
 	{
 		int count = atoi(unread);