Commit d919e812 authored by JC Brand's avatar JC Brand

Set up XML logging before emitting connectionInitialized

parent 5b4ce87a
......@@ -63302,6 +63302,8 @@ _converse.initConnection = function () {
}
}
setUpXMLLogging();
_converse.emit('connectionInitialized');
};
......@@ -63327,8 +63329,6 @@ function finishInitialization() {
_converse.initConnection();
setUpXMLLogging();
_converse.logIn();
_converse.registerGlobalEventHandlers();
......@@ -396,6 +396,7 @@ _converse.initConnection = function () {
throw new Error("initConnection: this browser does not support websockets and bosh_service_url wasn't specified.");
}
}
setUpXMLLogging();
_converse.emit('connectionInitialized');
}
......@@ -419,7 +420,6 @@ function finishInitialization () {
initClientConfig();
initPlugins();
_converse.initConnection();
setUpXMLLogging();
_converse.logIn();
_converse.registerGlobalEventHandlers();
if (!Backbone.history.started) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment