No need to explicitly send unavailable presence, Strophe does it for us.
This commit is contained in:
parent
ffcdd09cb7
commit
c8e4ae13ea
@ -550,9 +550,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
this.logOut = function () {
|
this.logOut = function () {
|
||||||
if (converse.xmppstatus) {
|
|
||||||
converse.xmppstatus.sendPresence('unavailable');
|
|
||||||
}
|
|
||||||
converse.chatboxviews.closeAllChatBoxes();
|
converse.chatboxviews.closeAllChatBoxes();
|
||||||
converse.clearSession();
|
converse.clearSession();
|
||||||
if (typeof converse.connection !== 'undefined') {
|
if (typeof converse.connection !== 'undefined') {
|
||||||
|
Loading…
Reference in New Issue
Block a user