Explorar o código

Looks like new messages can have an archive_id

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

+ 1 - 1
src/utils.js

@@ -389,7 +389,7 @@
             return !sizzle('result[xmlns="'+Strophe.NS.MAM+'"]', message).length &&
                    !sizzle('delay[xmlns="'+Strophe.NS.DELAY+'"]', message).length;
         } else {
-            return !message.get('archive_id') && !message.get('delayed');
+            return !message.get('delayed');
         }
     };