pidgin: 335f87d4: Disable this part of roster versioning, ...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Tue Jan 5 19:05:43 EST 2010


-----------------------------------------------------------------
Revision: 335f87d4afca39d3be008897012b18b89d6523d3
Ancestor: d9f77931ba0d01c59517722309b7acc24b1d2a96
Author: darkrain42 at pidgin.im
Date: 2010-01-06T00:01:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/335f87d4afca39d3be008897012b18b89d6523d3

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

ChangeLog: 

Disable this part of roster versioning, too (for now).  Refs #10935.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/roster.c	a8e83be0e90322c2f78079c268640c78dbc55dfe
+++ libpurple/protocols/jabber/roster.c	71d568bb2d7e1cd166f30864723b0089da7d3dce
@@ -193,7 +193,9 @@ void jabber_roster_parse(JabberStream *j
                          JabberIqType type, const char *id, xmlnode *query)
 {
 	xmlnode *item, *group;
+#if 0
 	const char *ver;
+#endif
 
 	if (!jabber_is_own_account(js, from)) {
 		purple_debug_warning("jabber", "Received bogon roster push from %s\n",
@@ -266,11 +268,13 @@ void jabber_roster_parse(JabberStream *j
 		}
 	}
 
+#if 0
 	ver = xmlnode_get_attrib(query, "ver");
 	if (ver) {
 		 PurpleAccount *account = purple_connection_get_account(js->gc);
 		 purple_account_set_string(account, "roster_ver", ver);
 	}
+#endif
 
 	js->currently_parsing_roster_push = FALSE;
 }


More information about the Commits mailing list