diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-11-17 10:12:44 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-11-17 11:04:10 +0000 |
commit | 7799e14121107417ef0de5881b23e0c74394575c (patch) | |
tree | acca4e373936e0e470b59ad5e9d4cb00bda79cba /syweb/webclient/app-controller.js | |
parent | These lines aren't doing anything (diff) | |
download | synapse-7799e14121107417ef0de5881b23e0c74394575c.tar.xz |
Add clearRooms() to wipe data when you logout.
Diffstat (limited to 'syweb/webclient/app-controller.js')
-rw-r--r-- | syweb/webclient/app-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/syweb/webclient/app-controller.js b/syweb/webclient/app-controller.js index 582c075e3d..46890c2287 100644 --- a/syweb/webclient/app-controller.js +++ b/syweb/webclient/app-controller.js @@ -85,6 +85,7 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even matrixService.saveConfig(); // Reset cached data + modelService.clearRooms(); eventHandlerService.reset(); // And go to the login page |