or should be and
This commit is contained in:
parent
12af9d5cbd
commit
c1322f3c92
@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
const messages = [];
|
const messages = [];
|
||||||
const message_handler = _converse.connection.addHandler(function (message) {
|
const message_handler = _converse.connection.addHandler(function (message) {
|
||||||
if (options.groupchat || message.getAttribute('from') !== options['with']) { // eslint-disable-line dot-notation
|
if (options.groupchat && message.getAttribute('from') !== options['with']) { // eslint-disable-line dot-notation
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
const result = message.querySelector('result');
|
const result = message.querySelector('result');
|
||||||
|
Loading…
Reference in New Issue
Block a user