Commit 0fe4031a authored by JC Brand's avatar JC Brand

Close all chat boxes when disconnected (with no reconnection attempt)

parent d3fe8e63
......@@ -450,6 +450,7 @@
}
delete converse.connection.reconnecting;
converse._tearDown();
converse.chatboxviews.closeAllChatBoxes();
converse.emit('disconnected');
converse.log('DISCONNECTED');
return 'disconnected';
......
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