Commit 796edb03 authored by JC Brand's avatar JC Brand

Updates #890. Make sure to clear session data

Otherwise carbons aren't re-enabled after reconnection.
parent f09d01c9
...@@ -571,6 +571,9 @@ ...@@ -571,6 +571,9 @@
if (!_.isUndefined(this.roster)) { if (!_.isUndefined(this.roster)) {
this.roster.browserStorage._clear(); this.roster.browserStorage._clear();
} }
if (!_.isUndefined(this.session) && this.session.browserStorage) {
this.session.browserStorage._clear();
}
}; };
this.logOut = function () { this.logOut = function () {
......
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