/************************ END Event Handlers ************************/
...
...
@@ -63305,14 +63305,9 @@ function addPromise(promise) {
}
_converse.emit = function (name) {
/* Event emitter and promise resolver */
_converse.trigger.apply(this, arguments);
_converse.log("(DEPRECATION) " + "_converse.emit has been has been deprecated. " + "Please use `_converse.api.trigger` instead.", strophe_js__WEBPACK_IMPORTED_MODULE_0__["Strophe"].LogLevel.WARN);
const promise = _converse.promises[name];
if (!_lodash_noconflict__WEBPACK_IMPORTED_MODULE_4___default.a.isUndefined(promise)) {
promise.resolve();
}
_converse.api.emit.apply(_converse, arguments);
};
_converse.isUniView = function () {
...
...
@@ -63370,7 +63365,7 @@ function initPlugins() {
*/
_converse.api.emit('pluginsInitialized');
_converse.api.trigger('pluginsInitialized');
}
function initClientConfig() {
...
...
@@ -63399,7 +63394,7 @@ function initClientConfig() {
*/
_converse.api.emit('clientConfigInitialized');
_converse.api.trigger('clientConfigInitialized');
}
_converse.initConnection = function () {
...
...
@@ -63429,7 +63424,7 @@ _converse.initConnection = function () {
* @event _converse#connectionInitialized
*/
_converse.api.emit('connectionInitialized');
_converse.api.trigger('connectionInitialized');
};
function setUpXMLLogging() {
...
...
@@ -63472,7 +63467,7 @@ function finishInitialization() {