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

This commit is contained in:
JC Brand 2016-05-24 08:06:38 +00:00
parent ffcdd09cb7
commit c8e4ae13ea

View File

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