# HG changeset patch # User Paul Aurich # Date 1237171360 0 # Node ID 6d7d360687bd9041432aaa54dfa0a78961e28aaf # Parent c3c2e8b64539db6be507ac011c20a6f671ffe78b Jabber: Default protocol version to 1.0. BOSH currently bypasses the standard parser, so protocol version is never handled and is kept at the default (I was seeing 'Un-hide From' and 'Temporarily Hide From'). diff -r c3c2e8b64539 -r 6d7d360687bd libpurple/protocols/jabber/jabber.c --- a/libpurple/protocols/jabber/jabber.c Sun Mar 15 05:13:41 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Mon Mar 16 02:42:40 2009 +0000 @@ -777,6 +777,8 @@ js->write_buffer = purple_circ_buffer_new(512); js->old_length = 0; js->keepalive_timeout = -1; + /* Set the default protocol version to 1.0. Overridden in parser.c. */ + js->protocol_version = JABBER_PROTO_1_0; if(!js->user) { purple_connection_error_reason (gc,