Explorar o código

or should be and

JC Brand %!s(int64=7) %!d(string=hai) anos
pai
achega
c1322f3c92
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/converse-mam.js

+ 1 - 1
src/converse-mam.js

@@ -84,7 +84,7 @@
 
         const messages = [];
         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;
             }
             const result = message.querySelector('result');