Commit 6506d474 authored by JC Brand's avatar JC Brand

Call `initialized` event once everything in core has been set up

parent 21733597
......@@ -683,6 +683,7 @@
}
}
deferred.resolve();
converse.emit('initialized');
};
this.onConnected = function (callback) {
......@@ -1856,7 +1857,6 @@
this.initializePlugins();
this._initialize();
this.registerGlobalEventHandlers();
converse.emit('initialized');
};
return converse;
}));
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