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