Commit 9a94e5b4 authored by JC Brand's avatar JC Brand

Bugfixes in fetching of occupants

parent 85fc91d7
...@@ -229,11 +229,11 @@ converse.plugins.add('converse-muc', { ...@@ -229,11 +229,11 @@ converse.plugins.add('converse-muc', {
); );
this.occupants.chatroom = this; this.occupants.chatroom = this;
this.occupants.fetched = new Promise(resolve => { this.occupants.fetched = new Promise(resolve => {
this.fetch({ this.occupants.fetch({
'add': true, 'add': true,
'silent': true, 'silent': true,
'success': resolve, 'success': resolve,
'failure': resolve 'error': resolve
}); });
}); });
......
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