Mercurial > pidgin
comparison libpurple/protocols/jabber/roster.c @ 28848:2f64bfb21c0d
Disable this part of roster versioning, too (for now). Refs #10935.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Wed, 06 Jan 2010 00:01:23 +0000 |
parents | ff0b7d7aeb5b |
children | f7f14706618b |
comparison
equal
deleted
inserted
replaced
28847:b8d47ed6ceb1 | 28848:2f64bfb21c0d |
---|---|
191 | 191 |
192 void jabber_roster_parse(JabberStream *js, const char *from, | 192 void jabber_roster_parse(JabberStream *js, const char *from, |
193 JabberIqType type, const char *id, xmlnode *query) | 193 JabberIqType type, const char *id, xmlnode *query) |
194 { | 194 { |
195 xmlnode *item, *group; | 195 xmlnode *item, *group; |
196 #if 0 | |
196 const char *ver; | 197 const char *ver; |
198 #endif | |
197 | 199 |
198 if (!jabber_is_own_account(js, from)) { | 200 if (!jabber_is_own_account(js, from)) { |
199 purple_debug_warning("jabber", "Received bogon roster push from %s\n", | 201 purple_debug_warning("jabber", "Received bogon roster push from %s\n", |
200 from); | 202 from); |
201 return; | 203 return; |
264 if (jb == js->user_jb) | 266 if (jb == js->user_jb) |
265 jabber_presence_fake_to_self(js, NULL); | 267 jabber_presence_fake_to_self(js, NULL); |
266 } | 268 } |
267 } | 269 } |
268 | 270 |
271 #if 0 | |
269 ver = xmlnode_get_attrib(query, "ver"); | 272 ver = xmlnode_get_attrib(query, "ver"); |
270 if (ver) { | 273 if (ver) { |
271 PurpleAccount *account = purple_connection_get_account(js->gc); | 274 PurpleAccount *account = purple_connection_get_account(js->gc); |
272 purple_account_set_string(account, "roster_ver", ver); | 275 purple_account_set_string(account, "roster_ver", ver); |
273 } | 276 } |
277 #endif | |
274 | 278 |
275 js->currently_parsing_roster_push = FALSE; | 279 js->currently_parsing_roster_push = FALSE; |
276 } | 280 } |
277 | 281 |
278 /* jabber_roster_update frees the GSList* passed in */ | 282 /* jabber_roster_update frees the GSList* passed in */ |