Variable interpolation bugfix

This commit is contained in:
JC Brand 2019-01-28 13:06:42 +01:00
parent d97deaea80
commit 374260242c
2 changed files with 2 additions and 2 deletions

2
dist/converse.js vendored
View File

@ -64292,7 +64292,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins.add('converse-dis
initialize() { initialize() {
this.waitUntilFeaturesDiscovered = utils.getResolveablePromise(); this.waitUntilFeaturesDiscovered = utils.getResolveablePromise();
this.dataforms = new Backbone.Collection(); this.dataforms = new Backbone.Collection();
this.dataforms.browserStorage = new Backbone.BrowserStorage.session(b64_sha1(`converse.dataforms-{this.get('jid')}`)); this.dataforms.browserStorage = new Backbone.BrowserStorage.session(b64_sha1(`converse.dataforms-${this.get('jid')}`));
this.features = new Backbone.Collection(); this.features = new Backbone.Collection();
this.features.browserStorage = new Backbone.BrowserStorage.session(b64_sha1(`converse.features-${this.get('jid')}`)); this.features.browserStorage = new Backbone.BrowserStorage.session(b64_sha1(`converse.features-${this.get('jid')}`));
this.features.on('add', this.onFeatureAdded, this); this.features.on('add', this.onFeatureAdded, this);

View File

@ -36,7 +36,7 @@ converse.plugins.add('converse-disco', {
this.dataforms = new Backbone.Collection(); this.dataforms = new Backbone.Collection();
this.dataforms.browserStorage = new Backbone.BrowserStorage.session( this.dataforms.browserStorage = new Backbone.BrowserStorage.session(
b64_sha1(`converse.dataforms-{this.get('jid')}`) b64_sha1(`converse.dataforms-${this.get('jid')}`)
); );
this.features = new Backbone.Collection(); this.features = new Backbone.Collection();