Bugfix. Make sure to refresh
Otherwise we get an empty collection of features (due to features being queried for a non-existent MUC)
This commit is contained in:
parent
01f0a65209
commit
58c29ea26b
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -67236,7 +67236,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
|
||||
this.autoConfigureChatRoom().then(() => this.refreshRoomFeatures());
|
||||
} else if (_converse.muc_instant_rooms) {
|
||||
// Accept default configuration
|
||||
this.saveConfiguration().then(() => this.getRoomFeatures());
|
||||
this.saveConfiguration().then(() => this.refreshRoomFeatures());
|
||||
} else {
|
||||
this.trigger('configurationNeeded');
|
||||
return; // We haven't yet entered the groupchat, so bail here.
|
||||
|
@ -1063,7 +1063,7 @@ converse.plugins.add('converse-muc', {
|
||||
this.autoConfigureChatRoom().then(() => this.refreshRoomFeatures());
|
||||
} else if (_converse.muc_instant_rooms) {
|
||||
// Accept default configuration
|
||||
this.saveConfiguration().then(() => this.getRoomFeatures());
|
||||
this.saveConfiguration().then(() => this.refreshRoomFeatures());
|
||||
} else {
|
||||
this.trigger('configurationNeeded');
|
||||
return; // We haven't yet entered the groupchat, so bail here.
|
||||
|
Loading…
Reference in New Issue
Block a user