Commit f260fd87 authored by JC Brand's avatar JC Brand

Don't close all chatboxes when reconnecting

parent 3f1602dd
......@@ -37,9 +37,11 @@
return this.__super__.logOut.apply(this, arguments);
},
initStatus: function () {
initStatus: function (reconnecting) {
const { _converse } = this.__super__;
_converse.chatboxviews.closeAllChatBoxes();
if (!reconnecting) {
_converse.chatboxviews.closeAllChatBoxes();
}
return this.__super__.initStatus.apply(this, arguments);
}
},
......
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