Преглед изворни кода

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

JC Brand пре 9 година
родитељ
комит
c8e4ae13ea
1 измењених фајлова са 0 додато и 3 уклоњено
  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') {