Mercurial > pidgin
comparison libpurple/protocols/jabber/google.c @ 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 | a8537bbcfb79 |
children | 3b1aad1cb5ce |
comparison
equal
deleted
inserted
replaced
26944:5cc86a255aba | 26945:6e8f56783e97 |
---|---|
665 char *bare_jid = jabber_get_bare_jid(to); | 665 char *bare_jid = jabber_get_bare_jid(to); |
666 const char *default_tos[2] = { bare_jid }; | 666 const char *default_tos[2] = { bare_jid }; |
667 | 667 |
668 purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL); | 668 purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL); |
669 g_free(bare_jid); | 669 g_free(bare_jid); |
670 } else { | |
671 purple_notify_emails(js->gc, count, FALSE, NULL, NULL, NULL, NULL, NULL, NULL); | |
672 } | 670 } |
673 | 671 |
674 return; | 672 return; |
675 } | 673 } |
676 | 674 |