pidgin: 9dae19a7: jabber: Send the RFC-mandated ack IQ

darkrain42 at pidgin.im darkrain42 at pidgin.im
Fri Feb 12 16:05:57 EST 2010


-----------------------------------------------------------------
Revision: 9dae19a718e8b815905a099c3d23b617ebfdce5e
Ancestor: 7c3de6319e9c9de7211f9fa2a39ff6bfa79842bf
Author: darkrain42 at pidgin.im
Date: 2010-02-12T20:58:53
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9dae19a718e8b815905a099c3d23b617ebfdce5e

Modified files:
        libpurple/protocols/jabber/roster.c

ChangeLog: 

jabber: Send the RFC-mandated ack IQ

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/roster.c	71d568bb2d7e1cd166f30864723b0089da7d3dce
+++ libpurple/protocols/jabber/roster.c	6d5e720c1fe2823b37fc15966012e798d5fb16f2
@@ -276,6 +276,12 @@ void jabber_roster_parse(JabberStream *j
 	}
 #endif
 
+	if (type == JABBER_IQ_SET) {
+		JabberIq *ack = jabber_iq_new(js, JABBER_IQ_RESULT);
+		jabber_iq_set_id(ack, id);
+		jabber_iq_send(ack);
+	}
+
 	js->currently_parsing_roster_push = FALSE;
 }
 


More information about the Commits mailing list