Browse Source

Looks like new messages can have an archive_id

JC Brand 7 năm trước cách đây
mục cha
commit
f267ee5ae0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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');
         }
     };