Don't call purple_notify_emails() for 0 emails.

Sun, 24 May 2009 06:30:02 +0000

author
Paul Aurich <darkrain42@pidgin.im>
date
Sun, 24 May 2009 06:30:02 +0000
changeset 27168
81060432c077
parent 27167
5b9a5d2c3a0d
child 27169
f42744df09fd
child 27170
447ef31d038a

Don't call purple_notify_emails() for 0 emails.

libpurple/protocols/jabber/google.c file | annotate | diff | comparison | revisions
--- 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;

mercurial