|
@@ -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);
|
|
|
}
|
|
|
},
|