changeset 26945:6e8f56783e97

Don't call purple_notify_emails() for 0 emails.
author Paul Aurich <paul@darkrain42.org>
date Sun, 24 May 2009 06:30:02 +0000
parents 5cc86a255aba
children 3b1aad1cb5ce 131e41a24d95
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Sun May 24 04:37:32 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Sun May 24 06:30:02 2009 +0000
@@ -667,8 +667,6 @@
 
 			purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL);
 			g_free(bare_jid);
-		} else {
-			purple_notify_emails(js->gc, count, FALSE, NULL, NULL, NULL, NULL, NULL, NULL);
 		}
 
 		return;