Procházet zdrojové kódy

Take <gone> chat state into consideration.

JC Brand před 11 roky
rodič
revize
5bc1286a64
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 3 1
      converse.js

+ 3 - 1
converse.js

@@ -186,6 +186,7 @@
         var ACTIVE = 'active';
         var COMPOSING = 'composing';
         var PAUSED = 'paused';
+        var GONE = 'gone';
 
         var HAS_CSPRNG = ((typeof crypto !== 'undefined') &&
             ((typeof crypto.randomBytes === 'function') ||
@@ -2797,7 +2798,8 @@
                         $msg.find(ACTIVE).length !== 0 ||
                         $msg.find(COMPOSING).length !== 0 ||
                         $msg.find(INACTIVE).length !== 0 ||
-                        $msg.find(PAUSED).length !== 0
+                        $msg.find(PAUSED).length !== 0 ||
+                        $msg.find(GONE).length !== 0
                     )
                 );
             },