Set up XML logging before emitting connectionInitialized
This commit is contained in:
parent
5b4ce87a4d
commit
d919e81216
4
dist/converse.js
vendored
4
dist/converse.js
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user