Commit a2e465f4 authored by JC Brand's avatar JC Brand

Send presence of type 'unavailable' when logging out.

parent e0c6626c
......@@ -550,6 +550,9 @@
};
this.logOut = function () {
if (converse.xmppstatus) {
converse.xmppstatus.sendPresence('unavailable');
}
converse.chatboxviews.closeAllChatBoxes();
converse.clearSession();
if (typeof converse.connection !== 'undefined') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment