cpw.darkrain42.xmpp.bosh: 975da21c: Jabber: Default protocol version to 1.0.
paul at darkrain42.org
paul at darkrain42.org
Sun Mar 22 23:11:05 EDT 2009
-----------------------------------------------------------------
Revision: 975da21cb04e3590ec37c00567b79b4a5ef0f64f
Ancestor: 1ba44239367b66d01c23bfbd908a1e068f2a97f8
Author: paul at darkrain42.org
Date: 2009-03-16T02:42:40
Branch: im.pidgin.cpw.darkrain42.xmpp.bosh
URL: http://d.pidgin.im/viewmtn/revision/info/975da21cb04e3590ec37c00567b79b4a5ef0f64f
Modified files:
libpurple/protocols/jabber/jabber.c
ChangeLog:
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').
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c 7bb80a287d0beb4af9ef483a06953dd37dbe4cbc
+++ libpurple/protocols/jabber/jabber.c cc58d730e722d013c39293316f9150e17499ecf1
@@ -777,6 +777,8 @@ jabber_login(PurpleAccount *account)
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,
More information about the Commits
mailing list