diff options
author | Paul Aurich <darkrain42@pidgin.im> | 2009-05-07 04:43:16 +0000 |
---|---|---|
committer | Paul Aurich <darkrain42@pidgin.im> | 2009-05-07 04:43:16 +0000 |
commit | 20fac759744030142369afc2e953113a741e4199 (patch) | |
tree | ad9eb1e8dfa11f5944b4fff21e83250894d875df | |
parent | a45b2941336566336be6c4885b023338c9a2b272 (diff) | |
download | pidgin-20fac759744030142369afc2e953113a741e4199.tar.gz |
Ack the mail notification IQ. Refs #8240.
-rw-r--r-- | libpurple/protocols/jabber/google.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpurple/protocols/jabber/google.c b/libpurple/protocols/jabber/google.c index a8275461c9..d3cb9a5ff9 100644 --- a/libpurple/protocols/jabber/google.c +++ b/libpurple/protocols/jabber/google.c @@ -761,6 +761,12 @@ jabber_gmail_poke(JabberStream *js, const char *from, JabberIqType type, if (type != JABBER_IQ_SET) return; + /* Acknowledge the notification */ + iq = jabber_iq_new(js, JABBER_IQ_RESULT); + xmlnode_set_attrib(iq->node, "to", from); + xmlnode_set_attrib(iq->node, "id", id); + jabber_iq_send(iq); + purple_debug(PURPLE_DEBUG_MISC, "jabber", "Got new mail notification. Sending request for more info\n"); |