Mercurial > pidgin
comparison libpurple/protocols/jabber/roster.c @ 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 | 2f64bfb21c0d |
children | d4b9df8e17f6 |
comparison
equal
deleted
inserted
replaced
29034:735e25f7f869 | 29035:f7f14706618b |
---|---|
274 PurpleAccount *account = purple_connection_get_account(js->gc); | 274 PurpleAccount *account = purple_connection_get_account(js->gc); |
275 purple_account_set_string(account, "roster_ver", ver); | 275 purple_account_set_string(account, "roster_ver", ver); |
276 } | 276 } |
277 #endif | 277 #endif |
278 | 278 |
279 if (type == JABBER_IQ_SET) { | |
280 JabberIq *ack = jabber_iq_new(js, JABBER_IQ_RESULT); | |
281 jabber_iq_set_id(ack, id); | |
282 jabber_iq_send(ack); | |
283 } | |
284 | |
279 js->currently_parsing_roster_push = FALSE; | 285 js->currently_parsing_roster_push = FALSE; |
280 } | 286 } |
281 | 287 |
282 /* jabber_roster_update frees the GSList* passed in */ | 288 /* jabber_roster_update frees the GSList* passed in */ |
283 static void jabber_roster_update(JabberStream *js, const char *name, | 289 static void jabber_roster_update(JabberStream *js, const char *name, |