changeset 29035:f7f14706618b

jabber: Send the RFC-mandated ack IQ
author Paul Aurich <paul@darkrain42.org>
date Fri, 12 Feb 2010 20:58:53 +0000
parents 735e25f7f869
children 08cc1cf27ac4
files libpurple/protocols/jabber/roster.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/roster.c	Fri Feb 12 06:08:56 2010 +0000
+++ b/libpurple/protocols/jabber/roster.c	Fri Feb 12 20:58:53 2010 +0000
@@ -276,6 +276,12 @@
 	}
 #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;
 }