|
@@ -617,7 +617,7 @@
|
|
'min_chars': 1,
|
|
'min_chars': 1,
|
|
'match_current_word': true,
|
|
'match_current_word': true,
|
|
'match_on_tab': true,
|
|
'match_on_tab': true,
|
|
- 'list': this.model.occupants.map(o => ({'label': o.getDisplayName(), 'value': o.get('jid')})),
|
|
|
|
|
|
+ 'list': () => this.model.occupants.map(o => ({'label': o.getDisplayName(), 'value': o.get('jid')})),
|
|
'filter': _converse.FILTER_STARTSWITH
|
|
'filter': _converse.FILTER_STARTSWITH
|
|
});
|
|
});
|
|
this.auto_complete.on('suggestion-box-selectcomplete', () => (this.auto_completing = false));
|
|
this.auto_complete.on('suggestion-box-selectcomplete', () => (this.auto_completing = false));
|