Skip to content

Commit 44c0869

Browse files
committed
Empty muc disco list when changing domain
1 parent 5c1ff8e commit 44c0869

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugins/muc-views/modals/muc-list.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export default class MUCListModal extends BaseModal {
112112

113113
onDomainChange () {
114114
this.getElementsByClassName('form-control')[0].value = this.model.get('muc_domain');
115+
this.items = [];
115116
api.settings.get('auto_list_rooms') && this.updateRoomsList();
116117
}
117118

0 commit comments

Comments
 (0)