Procházet zdrojové kódy

No need to explicitly send unavailable presence, Strophe does it for us.

JC Brand před 9 roky
rodič
revize
c8e4ae13ea
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  1. 0 3
      src/converse-core.js

+ 0 - 3
src/converse-core.js

@@ -550,9 +550,6 @@
         };
 
         this.logOut = function () {
-            if (converse.xmppstatus) {
-                converse.xmppstatus.sendPresence('unavailable');
-            }
             converse.chatboxviews.closeAllChatBoxes();
             converse.clearSession();
             if (typeof converse.connection !== 'undefined') {