Pārlūkot izejas kodu

or should be and

JC Brand 7 gadi atpakaļ
vecāks
revīzija
c1322f3c92
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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');