|
@@ -84,10 +84,8 @@
|
|
|
|
|
|
const messages = [];
|
|
|
const message_handler = _converse.connection.addHandler(function (message) {
|
|
|
- if (options.groupchat) {
|
|
|
- if (message.getAttribute('from') !== options['with']) { // eslint-disable-line dot-notation
|
|
|
- return true;
|
|
|
- }
|
|
|
+ if (options.groupchat || message.getAttribute('from') !== options['with']) { // eslint-disable-line dot-notation
|
|
|
+ return true;
|
|
|
}
|
|
|
const result = message.querySelector('result');
|
|
|
if (!_.isNull(result) && result.getAttribute('queryid') === queryid) {
|