libpurple/protocols/jabber/google.c

changeset 27062
84edb52aea5b
parent 26981
93f90b138e5f
child 27079
baa7cbe5775a
child 27081
51d62a0b66f9
--- a/libpurple/protocols/jabber/google.c	Thu May 07 04:37:30 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Thu May 07 04:43:16 2009 +0000
@@ -761,6 +761,12 @@
 	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");
 

mercurial