pidgin: 63312ea6: Ack the mail notification IQ. Refs #8240...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Thu May 7 01:25:38 EDT 2009
-----------------------------------------------------------------
Revision: 63312ea6181eca71c0b14ff03c7d0cd7beb6ea9d
Ancestor: d4b4f4860f4f855aaea7809eaf25b9652f74cf56
Author: darkrain42 at pidgin.im
Date: 2009-05-07T04:43:16
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/63312ea6181eca71c0b14ff03c7d0cd7beb6ea9d
Modified files:
libpurple/protocols/jabber/google.c
ChangeLog:
Ack the mail notification IQ. Refs #8240.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/google.c 9f9765cbf7a4088168fe37f3e1938ac814ca6059
+++ libpurple/protocols/jabber/google.c e17f7f655907c739c4668a8a638331e45c4c83a8
@@ -761,6 +761,12 @@ jabber_gmail_poke(JabberStream *js, cons
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");
More information about the Commits
mailing list