Przeglądaj źródła

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

JC Brand 9 lat temu
rodzic
commit
c8e4ae13ea
1 zmienionych plików z 0 dodań i 3 usunięć
  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') {